Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rules hack Details »»
Rules hack
Version: 1.2, by HiDeo HiDeo is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-04-2005 Last Update: 10-04-2005 Installs: 44
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Features:

* Add rules
* Edit rules
* Delete rules
* Rules when register
* Rules list

Language: English

Archive updated (5/10/05 : 19:29)

* Uninstall code added
* .xml updated (template rules_display forgot )

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 10-25-2005, 11:20 PM
Sinistra's Avatar
Sinistra Sinistra is offline
 
Join Date: Jun 2005
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Noticed a bug might want to fix when you uninstall this hack it loves a blank table header in the left side navigation of the admin CP
Reply With Quote
  #33  
Old 10-26-2005, 12:03 AM
Samira's Avatar
Samira Samira is offline
 
Join Date: Dec 2004
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ouch. Sorry to be a pain, I just thought I'd ask where to put the code you suggested since HiDeo isn't supporting the hack.
Reply With Quote
  #34  
Old 10-26-2005, 01:15 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, you replace the line that starts with
Code:
$rule_data =
With the following code:
Code:
require_once(DIR . '/includes/class_postbit.php');
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); 
$rule_data = $parser->do_parse($query_rule['ruledata'], true, false, true, false, true, false);
Reply With Quote
  #35  
Old 11-01-2005, 05:49 PM
redspider's Avatar
redspider redspider is offline
 
Join Date: Jul 2005
Posts: 225
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I unistall this hack but now I have a small problem because of that in the admincp there is a empty section and I will like to know how to fix that if any one can help please.
see attachment. thanks for any help
Reply With Quote
  #36  
Old 11-01-2005, 05:57 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I unistall this hack but now I have a small problem because of that in the admincp there is a empty section and I will like to know how to fix that if any one can help please.
see attachment. thanks for any help
Hey,

You should remove the XML file you uploaded to includes/xml when you installed the hack. Also delete rules.php from admincp and from forum root
Reply With Quote
  #37  
Old 11-01-2005, 06:08 PM
redspider's Avatar
redspider redspider is offline
 
Join Date: Jul 2005
Posts: 225
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
You should remove the XML file you uploaded to includes/xml
that work for me thank you so much
Reply With Quote
  #38  
Old 11-05-2005, 04:04 PM
jokerz jokerz is offline
 
Join Date: Oct 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HiDeo, is this possible to use for 3.5.1 ? As your hack is only "vB Version: 3.5.0"
Reply With Quote
  #39  
Old 12-22-2005, 11:42 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, hideo

just a thought.. could something similar to this be uploaded for a website - newsletter?... would be great?..

all requires is its own section, to edit. plus, sections that you can add e.g like FAO Section...? would like something like this!
Reply With Quote
  #40  
Old 01-20-2006, 09:55 AM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do I have to do to change: <td class="vbmenu_control"><a href="rules.php$session[sessionurl_q]">$vbphrase[rules]</a></td>

Into a link the the rules page so that I can add it as a seperate clickable link on my 2nd seperate navbar.

Laters
Reply With Quote
  #41  
Old 02-06-2006, 09:54 PM
vietfancy's Avatar
vietfancy vietfancy is offline
 
Join Date: Feb 2005
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:48 PM.


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.04974 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete