Smiley face
 
  Forum Index    Search    Usergroups    Edit your profile    Members    Arcade    Ranks

 Reputation    Medals    Staff    Statistics    Board Rules    Forum FAQ    Log in 

Search for at
Soldier Of Fortune 2 Advanced Search



Post new topicReply to topicprinter-friendly viewThank Post
   Soldier Of Fortune 2 Forum Index » Content management system » PHP Nuke - evolution Xtreme » Mod: Back to top button jQuery
 View previous topic :: View next topic  
Author Message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: May 23, 2017
Age: 36
Posts: 1105
Location: Milan
Italy.png 
Reputation: 4485
votes: 6
Medals: 6 (View more...)
Super Dedicated User (Amount: 1)

Status: Offline
PostPosted: Mon Aug 26, 2013 1:49 pm
PostPost subject: No icon Mod: Back to top button jQuery
Reply with quote

open /public_html/includes/javascript.php

find:

PHP:
//DO NOT PUT ANYTHING AFTER THIS LINE 


before add:

Protected Message:
--- If you are a *registered user* : you need to post in this topic to see the message ---


save and close.

open:

/public_html/themes/YOUR_THEME/style/style.css

to the end of the page add:

pay attention, play with the margin-left on #back-top to find the proper position in your website.

Protected Message:
--- If you are a *registered user* : you need to post in this topic to see the message ---


save and close.

open: /public_html/themes/YOUR_THEME/forums/overall_footer.tpl


find:

PHP:
    </table



before add:


Protected Message:
--- If you are a *registered user* : you need to post in this topic to see the message ---


save and close.

upload the pic below to: /public_html/images


that's it.


Last edited by Teo on Tue Aug 27, 2013 8:54 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Sponsor
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: May 23, 2017
Age: 19
Posts: 711

Netherlands.png 
Reputation: 3109
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Mon Aug 26, 2013 5:11 pm
PostPost subject: No icon Re: I ARE BLIZY
Reply with quote

Hmm... Blizzy, ive seen that name somewhere else. OBC Clan or something.

Quote:
I are Blizzy!!!

Great English.

And Teo, the Back to TOP Button is in the way of the text box.
For me its at the middle of the typebox.


You need to change the Margin or its not dynamic to other Screenresoluations.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: May 23, 2017
Age: 36
Posts: 1105
Location: Milan
Italy.png 
Reputation: 4485
votes: 6
Medals: 6 (View more...)
Site Supporter (Amount: 1)

Status: Offline
PostPosted: Mon Aug 26, 2013 5:28 pm
PostPost subject: No icon Re: I ARE BLIZY
Reply with quote

weird i got it at right place.. try refresh the page with Ctrl+F5 or just clean your caches and cookies look:


Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: May 23, 2017
Age: 36
Posts: 1105
Location: Milan
Italy.png 
Reputation: 4485
votes: 6
Medals: 6 (View more...)
Site Supporter (Amount: 1)

Status: Offline
PostPosted: Mon Aug 26, 2013 8:09 pm
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

have you fixed it or still there?
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Sponsor
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: May 23, 2017
Age: 19
Posts: 711

Netherlands.png 
Reputation: 3109
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Mon Aug 26, 2013 8:57 pm
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

i changed the source of it Wink
Else it wont get away.

Inspect Element > <p> > Styles > Margin-left: 450px; to 1050px , Save it as html with new source stuff.
You'r using Chrome? Or something else? Else its the browser :p
Anyways i fixed it, permanently for myself.


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
amber
Active
Active


In Game: casterdon
Gender: Gender:Male
Joined: Aug 01, 2013
Last Visit: Mar 15, 2014
Age: 54
Posts: 12
Location: Manchester
England.png 
Reputation: 34.6
Medals: None

Status: Offline
PostPosted: Tue Aug 27, 2013 12:01 am
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

Nice little mod Teo, I am trying to get into this web page design, but find it a little hard just now. One think I do know is the Nuke Evo Extreme is powerful software and i love messing around with it.  Smile
Back to top
View user's profile Send private message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: May 23, 2017
Age: 36
Posts: 1105
Location: Milan
Italy.png 
Reputation: 4485
votes: 6
Medals: 6 (View more...)
Super Dedicated User (Amount: 1)

Status: Offline
PostPosted: Tue Aug 27, 2013 8:55 am
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

Punisher wrote (View Post):
i changed the source of it Wink
Else it wont get away.

Inspect Element > <p> > Styles > Margin-left: 450px; to 1050px , Save it as html with new source stuff.
You'r using Chrome? Or something else? Else its the browser :p
Anyways i fixed it, permanently for myself.



which browser r you using? that's not the margin you should edit.. if you see i wrote:

Quote:
pay attention, play with the margin-left on #back-top to find the proper position in your website.

[hide][php]/*
Back to top button
*/
#back-top {
position: fixed;
bottom: 30px;
margin-left: 900px;
}


that's the proper margin to edit and it's into a table...


amber wrote (View Post):
Nice little mod Teo, I am trying to get into this web page design, but find it a little hard just now. One think I do know is the Nuke Evo Extreme is powerful software and i love messing around with it.  Smile


thax and what you mean with trying to get? have you any issue?
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
amber
Active
Active


In Game: casterdon
Gender: Gender:Male
Joined: Aug 01, 2013
Last Visit: Mar 15, 2014
Age: 54
Posts: 12
Location: Manchester
England.png 
Reputation: 34.6
Medals: None

Status: Offline
PostPosted: Tue Aug 27, 2013 4:19 pm
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

Hello Teo

What I mean is, still learning the in's and out's of all this  Very Happy

I have been playing with this little mod and have found that the script in javascript.php is not needed, it works fine with just CSS and the edit to the overall_footer.tpl.
Back to top
View user's profile Send private message
Sponsor
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: May 23, 2017
Age: 19
Posts: 711

Netherlands.png 
Reputation: 3109
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue Aug 27, 2013 4:20 pm
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

It's not for my site, Teo.
It was on this site for me. XD

As i said i opened Elemt Inspector and changed it to around 1050px.
Right mousebutton on the button Element Inspector or inspect Element, and it will automaticyl go to span span, a bit up and look at the styles on the right, and somewhere is for me maring 450px, which for some reasons stays on the middle of the site, and i changed it to 1050px.
Now it's staying at the 1050px point and dont have any trouble anymore. :p

Btw is the a Mobile Version of SOF2? Should be nice if there is >.<


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: May 23, 2017
Age: 36
Posts: 1105
Location: Milan
Italy.png 
Reputation: 4485
votes: 6
Medals: 6 (View more...)
Site Supporter (Amount: 1)

Status: Offline
PostPosted: Tue Aug 27, 2013 4:32 pm
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

Punisher wrote (View Post):
It's not for my site, Teo.
It was on this site for me. XD

As i said i opened Elemt Inspector and changed it to around 1050px.
Right mousebutton on the button Element Inspector or inspect Element, and it will automaticyl go to span span, a bit up and look at the styles on the right, and somewhere is for me maring 450px, which for some reasons stays on the middle of the site, and i changed it to 1050px.
Now it's staying at the 1050px point and dont have any trouble anymore. :p


cant get your problem with this little mod, the button is under a table so the 'body' is fixed by the table weight container and the margin 900 how it's set up should be 900px for every screen and every browser layout... i cant understand how you got it at 450px  Confused
btw if anyone else got same issue maybe can post here so to understand better the problem.

Punisher wrote (View Post):
Btw is the a Mobile Version of SOF2? Should be nice if there is >.<


about sof2 portable both sof2 silver and gold version already are. Just copy the whole folder into a mobile device and launch the executable file on every computer you want it will work, i got sof2 into my mobile data key.  :wink:




amber wrote (View Post):
Hello Teo

What I mean is, still learning the in's and out's of all this  Very Happy

I have been playing with this little mod and have found that the script in javascript.php is not needed, it works fine with just CSS and the edit to the overall_footer.tpl.


donno never tried i will check it! thank you.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: May 23, 2017
Age: 19
Posts: 711

Netherlands.png 
Reputation: 3109
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Tue Aug 27, 2013 6:22 pm
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

so it will be 1,45GB Game on your pc?
Than i should buy a new Micro SD of 8 GB or 16 gb D;
Anyways, dunno how it shows up 450 at my screen.
I fixed it as i said be4, ;p


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Teo
Owner
Owner
Administrator
Administrator


In Game: Teo

Joined: Sep 21, 2009
Last Visit: May 23, 2017
Age: 36
Posts: 1105
Location: Milan
Italy.png 
Reputation: 4485
votes: 6
Medals: 6 (View more...)
Site Supporter (Amount: 1)

Status: Offline
PostPosted: Tue Aug 27, 2013 6:56 pm
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

Punisher wrote (View Post):
so it will be 1,45GB Game on your pc?
Than i should buy a new Micro SD of 8 GB or 16 gb D;
Anyways, dunno how it shows up 450 at my screen.
I fixed it as i said be4, ;p


oke good but i would like to know why  Razz

sof2 is 1.2 GB adding mods i guess u can have a 2 GB of the game at least lol mine actually are:

Gold: 1,21 GB, v1.00: 1,23 GB in a 16 GB USB flash pen-drive

is not PC is a USB flash device i got sof2 everywhere pc, keys, HHD's, websites.. XD
Back to top
View user's profile Send private message Send e-mail Visit poster's website Visit member's Facebook: http://www.facebook.com/ricordalo
Sponsor
ProClanServers.com
Punisher
Administrator
Administrator


In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: May 23, 2017
Age: 19
Posts: 711

Netherlands.png 
Reputation: 3109
votes: 3
Medals: 2 (View more...)
Dedication (Amount: 1)

Status: Offline
PostPosted: Tue Aug 27, 2013 8:09 pm
PostPost subject: No icon Re: Mod: Back to top button jQuery
Reply with quote

but i have FP, openGL, own mod etc.. in it, so need to remove it XD

And Just paste my sof2 directory to my mobile device?


Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist

<a><img></a>

<a><img></a>
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic printer-friendly viewThank Post
Soldier Of Fortune 2 Forum Index » Content management system »  PHP Nuke - evolution Xtreme
 
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts xS~mod 8.0 8 system 7684 Tue Aug 20, 2013 2:50 am
gedo View latest post
No new posts Mod tutorial 10 VenOm 5946 Sun Dec 30, 2012 9:01 pm
Teo View latest post
This topic is locked: you cannot edit posts or make replies. Graavie's mod 4 Graavie 3340 Thu Oct 18, 2012 8:22 pm
Teo View latest post
No new posts Psychooo MoD v.2 7 CroPsychooo 4339 Sun Dec 11, 2011 10:41 am
music View latest post
No new posts Deurkruk's mod 2 Deurkruk 2082 Tue Jul 19, 2011 1:47 pm
Deurkruk View latest post
 




Back to Top

SOF2.ORG Multiplayer Community © 2017 All times are UTC + 2 Hours [DST enabled]
 

Copyright ©