vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Selective Forum Filter (https://vborg.vbsupport.ru/showthread.php?t=79883)

akanevsky 04-15-2005 11:21 PM

I have a better idea. How about.. hmm...
Cyrixc - good idea. How about making a link which would hide the forum, and then... Make a link which would show aLL the forums, but the hidden ones would have UNHIDE link on them :) Hehe. How about that?

weaver 04-16-2005 10:48 PM

Quote:

Originally Posted by Aurous
Any chance of having a multiple check-box with all forums listed? So users can conveniently select the forums they want to hide? That will really complete this hack.

Anyways, good work.

Quote:

Originally Posted by Dark Visor
I have a better idea. How about.. hmm...
Cyrixc - good idea. How about making a link which would hide the forum, and then... Make a link which would show aLL the forums, but the hidden ones would have UNHIDE link on them :) Hehe. How about that?

Excellent ideas. I'd definitely install if either of these ideas is included. But for now I'm going to wait. I know my members too well and the current method would be too confusing for them. Great hack though. :)

akanevsky 04-17-2005 02:39 PM

UPDATED, YAY!
NOW THERE ARE SCREENSHOTS, YAY! ^^

To upgrade:
- Void any template changes you made in previous version
- Void any phrases you created in previous version
- Void changes made in profile.php
- Void changes made in functions_forumslist.php

- Make new template changes
- Add new phrases
- Make changes in index.php
- Make new changes in functions_forumslist.php

Lionel 04-17-2005 04:11 PM

Look at screenshot to see what is happening to my subforums. All the names disappeared on forumhome.

akanevsky 04-17-2005 04:51 PM

Make sure you did the forumhome_subforumbit_post template right.
If you think you did, post its contents here.

akanevsky 04-17-2005 04:57 PM

It seems like you have some hack installed there. Probably the "forum names in columns"... Anyways, post the template here. Because it might be in conflict w/ that other hack.

Lionel 04-17-2005 05:01 PM

here are the contents

Quote:

<if condition="$_REQUEST['e'] == 1 AND $bbuserinfo[userid]">
<input type="checkbox" name="showhideforums[]" value="$forum[forumid]" ${showhideforums_checked[$forum[forumid]]} />
<else />
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum<if condition="$forum['postanon']!='0'">anon</if>_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><span class="smallfont">$forum[title]</span></a></if>

Lionel 04-17-2005 05:02 PM

Looks like I closed the conditional too far.

That was it....

Beautiful Hack!!!!!

akanevsky 04-17-2005 05:05 PM

Yes. Fix it like this :):

HTML Code:

<if condition="$_REQUEST['e'] == 1 AND $bbuserinfo[userid]">
<input type="checkbox" name="showhideforums[]" value="$forum[forumid]" ${showhideforums_checked[$forum[forumid]]} />
<else />
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum<if condition="$forum['postanon']!='0'">anon</if>_$forum[statusicon].gif" alt="" /></if> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><span class="smallfont">$forum[title]</span></a>

And thanks :)

Lionel 04-17-2005 05:09 PM

I also had to add it to 'forumhome_forumbit_level1_post'


All times are GMT. The time now is 05:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01197 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete