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)

Protonus 12-18-2006 10:13 PM

Is there any plan to port this to vB 3.6.x?

marc_t 12-19-2006 07:28 AM

Quote:

Originally Posted by Protonus (Post 1141240)
Is there any plan to port this to vB 3.6.x?

https://vborg.vbsupport.ru/showthread.php?t=123033

Dioxin 01-29-2007 12:12 PM

hey, nice hack.

replaced my custom category hack with this one :)

i changed you installer a bit:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread ADD threadprefix varchar(100)");

to:
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread ADD threadprefix varchar(100) NOT NULL DEFAULT ''");

could you include this change in your next version?

reddyink 10-10-2007 11:14 AM

ERROR with 3.6.8
when I run category install.php ...here is the error I am getting.

Warning: require_once(.//categoryinstall_text.php) [function.require-once]: failed to open stream: No such file or directory in \admincp\categoryinstall.php on line 20

Fatal error: require_once() [function.require]: Failed opening required './/categoryinstall_text.php' (include_path='.;C:/Program Files/EasyPHP 2.0b1\php5\pear\') in C:\Program Files\EasyPHP 2.0b1\www\upload\admincp\categoryinstall.php on line 20

reddyink 10-10-2007 07:14 PM

Can anyone please help me on fixing this below error.
I copied 2 files categoryinstall and categoryinstall_text in both upload folder and admincp folder. when i run in internet explorer. I am getting following error. What am I doing wrong? I noticed global.php exists in both folders.

Fatal error: Call to undefined function globalize() in C:\Program Files\EasyPHP 2.0b1\www\upload\admincp\categoryinstall.php on line 23

Mystics 10-10-2007 08:01 PM

You really should use the version for 3.6.x, not this version which is designed for 3.0.x. :)
https://vborg.vbsupport.ru/showthread.php?t=123033

reddyink 10-11-2007 12:09 AM

Thanks for the reply. I need thread category also because. I want the categories to come from database. Is this 3.6 thread prefix mod gets categories from DB. Looks like from your screen shots I am understanding that we have to manually enter the prefix in the form to show up in Thread prefix dropdown box.
Am I correct or we this latest version mod we can also get categories from database.
Please advice.
Thanks


All times are GMT. The time now is 06:27 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.02499 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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