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)
-   -   Thread Category / Prefix Hack (https://vborg.vbsupport.ru/showthread.php?t=61494)

Mystics 04-08-2004 06:05 PM

Small update to 1.3.3:

Edit forumdisplay.php and find:
Code:

                $pagenav = construct_page_nav($totalthreads, "forumdisplay.php?$session[sessionurl]f=$forumid", "&sort=$sortfield&order=$sortorder&pp=$perpage&daysprune=$daysprune");
Replace it with:
Code:

                $pagenav = construct_page_nav($totalthreads, "forumdisplay.php?$session[sessionurl]f=$forumid", "&sort=$sortfield&order=$sortorder&pp=$perpage&daysprune=$daysprune" . iif(!empty($_REQUEST['threadcategory']), '&threadcategory=' . urlencode($_REQUEST['threadcategory'])));
Otherwise the selected category got lost when browsing through multiple forumdisplay pages.

djohn 04-11-2004 03:46 PM

Thanks for the update.
I wanted to know if there's a way to make the Thread Category dropdown menu (on forumshow) be the same as others? See attached screenshot, the Thread Category dropdown menu is a little bit narrower than the others. It's the same in Opera.

Yapluka 04-13-2004 09:01 PM

Very nice hack, works like a charm for me !

Just a little thing : when editing the first post with QuickEdit, the category is lost. Any suggestion for that ?

Thanks anyway !

Mystics 04-13-2004 09:46 PM

Quote:

Originally Posted by Yapluka
Just a little thing : when editing the first post with QuickEdit, the category is lost. Any suggestion for that ?

What do you mean with "QuickEdit"?

If you edit the first post, you are able to change the current category.

Yapluka 04-13-2004 10:01 PM

Sorry, I mean the QuickEdit hack : https://vborg.vbsupport.ru/showthrea...245#post500245

If you edit the first post using QuickEdit, the thread will lose its category.

gwhooooey 04-15-2004 04:29 AM

Any way we can choose different colours for different categories?

trinitym 04-19-2004 09:00 PM

_Excellent_ hack, well done and will prove to be quite useful. *clicks install* I don't think I've ever edited so many files in one sitting. ;)

I do have a question though. I wonder if there's a way to have it so that categories are required only in certain forums and not required in all that have categories assigned to them. For example, I don't really need categories to be required in say "the bugs, complaints & suggestions" forum, but I'd like for categories to be requried in the "fanfiction" forum since I'm going to have the ratings be the categories.

Either way, love the hack-age. :)

influence 04-20-2004 05:44 PM

The installation setup was great. It looks like you will be setting a trend and hopefully every hacker will setup their installation pages this way.

Excellent idea and great hack. I have been looking for this.

Thanks for the amazing hack.

*click*

influence 04-20-2004 08:11 PM

One quick suggestion or maybe a request addon for future versions. I am trying to set this up so that members can select which category his/her thread should be in. On my list of category, I have 3 categories only mods/admin and SM should be using (annoucement, featured thread and Rules ) . My question is , is there anyway to set this up in a way for me to specific certain categories registered users are restricted from using?

That would be great

bmckain 04-25-2004 07:17 PM

I've installed this hack and I have to say it is well done, I did seem to make a small error somewhere though. I can add categories from the AdminCP - Options but when I try to do it from the forum manager I get the following error:

Not Found
The requested URL /forums/threadcategory.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.29 Server at www.lwg3d.org Port 80

Any ideas on what I did wrong?


All times are GMT. The time now is 11:36 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.02602 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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