Hello and welcome to the Webmasters Forums!. This is the best place to get webmasters resources for free. Get $2 for free today, read more - Make your payment today. Download premium and professional templates for free. Get free web hosting without ads, read more. You can get lot more by simply join with this forum. To gain full access to the forums you must sign up for a free account.


Post Reply  Post Thread 

Remove Subforums - Written for zetaboards

Post Bank
Posting Manager
******

Posts: 995
Group: Forum Team
Joined: Sep 2006
Status: Online
Make money from now. You can make money just for posting on this forum. Every discussions on this community gives you more money. $2 minimum payout. So get your payment today, SignIn with this forum.

Signin to Remove this Post

godkillah
Senior Member
****


Posts: 261
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 3
Points: 183 (Donate)
Post: #1

Remove Subforums - Written for zetaboards


Written for zetaboards

another simple code (written on request)
This code removes the subforums in the description,

Original Request: http://phantom-designs.net/index.php?showtopic=11334

should be put anywhere below the main forum content

Code:
<script>
/*Remove Subforums by Godkillah
phantom-designs.net */
a=document.getElementsByTagName("td")
for(i=0;i<a.length;i++)
if(a[i].className=='c_subforum')
a[i].style.display='none'
</script>


enjoy


30-11-2007 06:43 AM
Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #2

RE: Remove Subforums - Written for zetaboards


But what is the usage of removing the subforms display with the description of the forum?
Normally the board scripts are packed with the feature to show the subforms or not. But, this mod is unique on Forums... Smile

So nice work done..


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
01-12-2007 09:27 PM
Find all posts by this user Quote this message in a reply
godkillah
Senior Member
****


Posts: 261
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 3
Points: 183 (Donate)
Post: #3

RE: Remove Subforums - Written for zetaboards


it doesn't remove the subforums and the description,
in the description it shows links to the subforums, these links are removed.
i don't believe it has a feature for this however it can also be done in the css.
thanks for your comment


02-12-2007 03:29 AM
Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #4

RE: Remove Subforums - Written for zetaboards


godkillah Wrote:
it can also be done in the css.


Can you explain how it is done with the help of CSS?

Are you trying to insert codes under css or trying to hide that div part ?


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
12-12-2007 11:31 PM
Find all posts by this user Quote this message in a reply
godkillah
Senior Member
****


Posts: 261
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 3
Points: 183 (Donate)
Post: #5

RE: Remove Subforums - Written for zetaboards


well in the css theres a class called 'C_subforum'
by adding display:none in that class you'll remove it with the css
should be quite easy


14-12-2007 03:01 AM
Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #6

RE: Remove Subforums - Written for zetaboards


godkillah Wrote:
well in the css theres a class called 'C_subforum'
by adding display:none in that class you'll remove it with the css
should be quite easy


That is a good and easy option.. Best of luck with your works. You are going well...


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
14-12-2007 07:34 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [ZetaBoards] Disable Triple Posting w/ Post Cut-off Limit Eureka 4 281 19-11-2008 08:40 PM
Last Post: walsh
  [ZetaBoards] Portal Quick Login Eureka 13 529 24-12-2007 06:15 AM
Last Post: Eureka
  [zetaboards] limit signature images godkillah 0 246 18-12-2007 03:56 AM
Last Post: godkillah
  [ZetaBoards] IPB Style on Index Page Eureka 1 940 17-12-2007 05:28 AM
Last Post: godkillah
  [ZetaBoards] Disable Double Posting w/ Cut-Off Limit Eureka 1 217 17-12-2007 05:27 AM
Last Post: godkillah
  [ZetaBoards] Fast Reply Moderation Eureka 2 180 17-12-2007 05:24 AM
Last Post: Eureka
  [ZetaBoards] Disable Double Posting Series Eureka 1 224 17-12-2007 05:20 AM
Last Post: godkillah
  [ZetaBoards] Awards in Post Details Eureka 1 173 17-12-2007 05:18 AM
Last Post: godkillah
  [ZetaBoards] Bump PM Quick Reply Eureka 1 117 17-12-2007 05:17 AM
Last Post: godkillah
  Remove forum led by: godkillah 4 266 01-10-2007 02:44 PM
Last Post: godkillah

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites
Rate This Thread:

Forum Jump:

Sign In to Remove Ads

Download 1000's of web templates. Unlimited access!
World's Best Web Hosting
Resources

Recommended Sites:



Visit our Sponsors!

Current time: 02-12-2008, 10:55 AM


Copyright © 2002-2008 MyBB Group
Powered By MyBB