vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] enter sign page code - View Topic
Topic Rating: *****
Printable View
This topic was locked 19th Apr 08 at 6:55pm by Michael
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
[F] enter sign page code (19th Apr 08 at 3:19pm UTC)
http://fma.vforums.co.uk

I need help with this code, this code is originally from PB.

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. var iImg = 'http://i185.photobucket.com/albums/x20/magedesigns/entersign.jpg';
  4.  
  5. if(!location.href.match("action") && !document.referrer.match(location.href.split(".")[0]))
  6. {
  7. document.write('<style type="text/css">table,font,.hide{display:none;}.nohide{display: ;}</style>');
  8. d = document.createElement('div');
  9. with(d){ align = 'center'; appendChild(document.createElement('a')); }
  10. with(d.lastChild){ href = '/index.cgi?'; appendChild(document.createElement('img')); }
  11. with(d.lastChild.lastChild){ alt = 'Click to Enter'; border = '0'; src = iImg; }
  12. document.body.appendChild(d);
  13. }
  14. // -->
  15. </script>
 


Now since it was from PB my forum shows http://fma.vforums.co.uk/index.cgi? and it wont allow me to go to the forum.

I want it to look like this:

http://fma2.proboards3.com

Thanks,
Darkmage
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: enter sign page code (19th Apr 08 at 3:50pm UTC)
Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. var iImg = 'http://i185.photobucket.com/albums/x20/magedesigns/entersign.jpg';
  4.  
  5. if(!location.href.match("action") && !document.referrer.match(location.href.split(".")[0]))
  6. {
  7. document.write('<style type="text/css">table,font,.hide{display:none;}.nohide{display: ;}</style>');
  8. d = document.createElement('div');
  9. with(d){ align = 'center'; appendChild(document.createElement('a')); }
  10. with(d.lastChild){ href = '/action/home/'; appendChild(document.createElement('img')); }
  11. with(d.lastChild.lastChild){ alt = 'Click to Enter'; border = '0'; src = iImg; }
  12. document.body.appendChild(d);
  13. }
  14. // -->
  15. </script>
 


{Smile}

rroll.to— Shorten a link, rickroll your friends.
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: enter sign page code (19th Apr 08 at 3:54pm UTC)
Thanks it works. And is there a way to add this code into the index?
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: enter sign page code (19th Apr 08 at 3:59pm UTC)
 
Thanks it works. And is there a way to add this code into the index?


I'll get a more advanced splash page code added soon. {Smile}

rroll.to— Shorten a link, rickroll your friends.
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,013
Status: Offline
Gender: Male
Location: vForums
Age: 35
Joined:  
Reputation: 62%  


pmwww
Re: enter sign page code (19th Apr 08 at 4:01pm UTC)
Ok Cool thanks ^_^
 Printable View

All times are GMT+0 :: The current time is 12:21am
Page generated in 0.1899 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums