ToggleForums - Collection of Scripts - Other - uCoz Community
You logged in as Guest
Username/E-mail:
Recent messages · Members · Forum rules · FAQ · SEARCH Registration · Log in


We are in the second round! Let's keep voting!

Page 1 of 11
Forum moderator: Dartz 
uCoz Community » Other » Collection of Scripts » ToggleForums
ToggleForums
NzoDate: Tuesday, 2009-08-18, 4:39 Am | Message # 1
Regular
Group: Checked
Messages: 49
Awards: 1
Reputation: 1
Status: Offline
This is a simple JavaScript add-on for the forums which allows you minimize and maximize the forum categories.

Preview:
Please note the blue underlining are there for illustration purposes.

Code:

Code
<div id="forumbody">$BODY$</div><?if($PAGE_ID$='main')?><style type="text/css">     
.gTopCornerRight {display:none;}     
</style>     
<script type="text/javascript" src="http://your-url-goes-here.ucoz.com/toggleforums.js"></script><?endif?>

Download the script from here: http://b2k.ucoz.com/toggleforums.js
Upload the file.
Once uploaded, change the link to where you have uploaded the file

Code
http://your-url-goes-here.ucoz.com/toggleforums.js

And Waalaa! =)

Copyrights: pecora
Site: Unknown



NzoMedia.info

 
MistoryDate: Tuesday, 2009-08-18, 5:03 Am | Message # 2
Constant
Group: Checked
Messages: 275
Awards: 10
Reputation: 8
Status: Offline
Looks pretty good, but I have just 1 question,

Quote (Nzo)
Code
<div id="forumbody">$BODY$</div><?if($PAGE_ID$='main')?><style type="text/css">
.gTopCornerRight {display:none;}
</style>
<script type="text/javascript" src="http://your-url-goes-here.ucoz.com/toggleforums.js"></script><?endif?>

Where do we put this code please?


GamesCenter wont grow unless you register! C'mon you know you want to

~I might be a little slow. I'm getting used to the Mac

Message edited by Mistory - Tuesday, 2009-08-18, 5:04 Am
 
ArmarosDate: Tuesday, 2009-08-18, 5:26 Am | Message # 3
Haunter
Group: Checked
Status: Offline
I thought this question will come up.

Location: Control Panel -> Customize Design -> General appearance of forum pages.

Find: $BODY$

Replace with:

Code
<div id="forumbody">$BODY$</div><?if($PAGE_ID$='main')?><style type="text/css">
.gTopCornerRight {display:none;}
</style>
<script type="text/javascript" src="http://your-url-goes-here.ucoz.com/toggleforums.js"></script><?endif?>
MistoryDate: Tuesday, 2009-08-18, 5:44 Am | Message # 4
Constant
Group: Checked
Messages: 275
Awards: 10
Reputation: 8
Status: Offline
Thanks Armaros, Il give it a try biggrin


Its worked biggrin

Thankyou Nzo, and Thankyou Armaros smile


GamesCenter wont grow unless you register! C'mon you know you want to

~I might be a little slow. I'm getting used to the Mac

Message edited by Mistory - Tuesday, 2009-08-18, 5:44 Am
 
TommyDate: Tuesday, 2009-08-18, 5:57 Am | Message # 5
Experienced
Group: Helpers
Messages: 439
Awards: 17
Reputation: 23
Status: Offline
Nzo,

Thanks It's a nice code. I liked it.


"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
 
MistoryDate: Tuesday, 2009-08-18, 5:15 Pm | Message # 6
Constant
Group: Checked
Messages: 275
Awards: 10
Reputation: 8
Status: Offline
If you dont understand Nzo's, Intructions, follow this (For Noobies)

1. Follow this code ( http://b2k.ucoz.com/toggleforums.js ) and right click and click "Select All" and Then right click on any of the highlighted text and click Copy (Ctrl+C).
Then paste (Ctrl+V) the code into Notepad and save the file as "toggleforums.js"

2. Upload the file into File Manager

3. CP -> Customize design -> Forum
Find $BODY$ and replace with:

Code
<div id="forumbody">$BODY$</div><?if($PAGE_ID$='main')?><style type="text/css">         
.gTopCornerRight {display:none;}         
</style>         
<script type="text/javascript" src="http://your-url-goes-here.ucoz.com/toggleforums.js"></script><?endif?>

4. Replace http://your-url-goes-here.ucoz.com/toggleforums.js (in the code above) with your toggleforums.js address (link).


GamesCenter wont grow unless you register! C'mon you know you want to

~I might be a little slow. I'm getting used to the Mac

Message edited by Mistory - Tuesday, 2009-08-18, 5:20 Pm
 
XTahCDate: Wednesday, 2009-08-26, 9:50 Pm | Message # 7
Newbie
Group: Users
Messages: 12
Awards: 0
Reputation: 0
Status: Offline
Thank you for this code, I have input it onto my forums.

It works "perfect!"

+Rep for you smile


Nightmares, occur in my presence.
Doing everything..wrong..as always..///
 
LeekinzDate: Wednesday, 2009-08-26, 11:10 Pm | Message # 8
Regular
Group: Checked
Messages: 68
Awards: 4
Reputation: 2
Status: Offline
Quote (Mistory)
Follow this code ( http://b2k.ucoz.com/toggleforums.js ) and right click and click "Select All" and Then right click on any of the highlighted text and click Copy (Ctrl+C).
Then paste (Ctrl+V) the code into Notepad and save the file as "toggleforums.js"

Or alternatively you can Right Click >> Save Link As. (Just thought I'd point that out,)


There was once a man named Lee. He used to love taking a ***, then he found THIS!

Message edited by Leekinz - Wednesday, 2009-08-26, 11:10 Pm
 
fakerosDate: Wednesday, 2009-08-26, 11:15 Pm | Message # 9
Constant
Group: Checked
Messages: 155
Awards: 13
Reputation: 13
Status: Offline
Really helpfull script!!!!

A common mistake that people make when trying to make something completely foolproof is to underestimate the ingenuity of complete fools...
 
MistoryDate: Tuesday, 2009-09-01, 11:44 Am | Message # 10
Constant
Group: Checked
Messages: 275
Awards: 10
Reputation: 8
Status: Offline
I love this code. Its brilliant.

Is it also possible to have the ToggleScript on the Forum Statistics?


GamesCenter wont grow unless you register! C'mon you know you want to

~I might be a little slow. I'm getting used to the Mac

 
LeekinzDate: Tuesday, 2009-09-01, 2:42 Pm | Message # 11
Regular
Group: Checked
Messages: 68
Awards: 4
Reputation: 2
Status: Offline
Mistory, It's possible but it hasn't been coded or implemented into a JS code yet, Try requesting for it on http://b2k.ucoz.com

There was once a man named Lee. He used to love taking a ***, then he found THIS!
 
MistoryDate: Saturday, 2009-09-12, 5:28 Am | Message # 12
Constant
Group: Checked
Messages: 275
Awards: 10
Reputation: 8
Status: Offline
Ok thanks tongue

GamesCenter wont grow unless you register! C'mon you know you want to

~I might be a little slow. I'm getting used to the Mac

 
Miss_StephxxDate: Sunday, 2009-09-13, 5:15 Am | Message # 13
Curious
Group: Checked
Messages: 36
Awards: 1
Reputation: 3
Status: Offline
thanks it works !! biggrin

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

:'( ---> ...

 
uCoz Community » Other » Collection of Scripts » ToggleForums
Page 1 of 11
Search: