vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Rules per Forum (https://vborg.vbsupport.ru/showthread.php?t=45474)

XFLBret 11-27-2002 06:56 AM

I'm sorry...I know you meant well, but this hack simply does not work.

there are no instructions on how to integrate it, and when I rename it as a hack, vbhacker just doesnt know what to do with it...

XFLBret 11-27-2002 07:33 AM

on my god, what a mess....

first off, i took the text file posted here, and renamed that to xxx.hack.php, and got that to work, but there were three things that needed to be edited manually. the problem is that it was looking in showthread.php when it should have been looking in forumdisplay.php for two of the things it couldn't do. the third thing was in the admin/forum.php file.

I made a couple adjustments in the forumhome template, so it didn't take up as much room, and it looks good now.

here's what I can't figure out...

how do i make the custom rules link work so that the rules open up in a separate browser window rather than the same window?

XFLBret 11-27-2002 08:05 AM

OK, I found another problem with the hack that exists when you try to create a new forum, a missing apostrophe in the admin/forum.php file...

daysprune','".addslashes($newpostemail)."','".adds lashes($newthreademail)."',
'$moderatenew','$aallowhtmlcode','$aallowbbcode',' $aallowimgcode','$aallowsmilie s','$aallowicons',
'$styleoverride','$allowratings','$countposts','$m oderateattach','".addslashes($ rulestext).")");

See it, it should end like:

'".addslashes($rulestext)."')");

spaceb 12-04-2002 01:52 PM

i have a problem i just cant find this
$templatesused.=\'forumdisplay_loggedinuser,.....
the only thing i found is this
$templatesused = 'showthread_ratingdisplay,......
well i aded there the string but i cant see the link to the rules in the forum :(
can someone tell me what to do please i'm using vbb 2.2.7

spaceb 12-04-2002 02:47 PM

I solved the problems and its working perfect for me now i maked txt file how to install without the vbhacker with the good code :p
hope its fine with you filburt1

filburt1 12-04-2002 02:48 PM

Thanks :)

Dean C 12-06-2002 05:39 PM

This hack seems pretty useful

Any chance we could have a tick pox in the forum.php when we goto edit a file which would show the set of rules before you post a new thread?

- miSt

VAN 01-19-2003 12:06 AM

Thanks to filburt for the hack, and to spaceb for building the .txt file. :)

Works great on 2.2.9

spaceb 02-12-2003 07:49 AM

no problem :p

Xyphen 04-07-2003 07:00 PM

ITs a very nice hack filburt honestly!


All times are GMT. The time now is 05:47 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.01555 seconds
  • Memory Usage 1,724KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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