vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Rules hack (https://vborg.vbsupport.ru/showthread.php?t=97605)

Devil Woman 10-06-2005 10:29 AM

Now all sorted and working, thankyou

albibak 10-06-2005 09:26 PM

Great hack, work fine. Thanks a lot.

Xplorer4x4 10-11-2005 09:10 PM

<a href="http://www.nodqforums.com/rules.php" target="_blank">http://www.nodqforums.com/rules.php</a>
How can I make the lay out more like this that just the simple boxes?

redspider 10-14-2005 12:55 AM

Quote:

Originally Posted by Samira
I've uninstalled and reinstalled this three times (complete with re-uploading all files) and am getting a weird result on the rules.php page. It sets up like it should without rules, but when I add a rule I see the header a second time, "Number of Rules: (no entry here)" and "Title" displayed, but no rules. Suggestions?

I have same problem I did try to remove all the old phrase and still have that problem .
would be nice if we have a unistall hack for the original hack .

akanevsky 10-22-2005 06:42 PM

Come on man, what is this... Hack done using your left leg?
First of all, please add bbcode support:

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);

Second, you should really work on that rules template.. Why is it so white? It should be like the rest of vB :)

HTML Code:

<!-- main -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr class="thead">
<td width="100%" align="center" colspan="2">
<b>$rule_name</b>
</td>
</tr>
<tr class="alt1">
<td>
$rule_data
</td>
</tr>
</table>
<!-- /main -->

That is my template...
I hope you fix it... ty

Cheers, DV

Samira 10-25-2005 05:34 AM

DarkVisor,

Can I beg to be told where to put the code to enable bbcode? Pretty please? I assume somewhere in rules.php ... please forgive my lack of coding ability and take pity on me. :rolleyes:

akanevsky 10-25-2005 05:49 PM

1. Please do not beg ;)
2. Just install my Rules hack, https://vborg.vbsupport.ru/showthrea...threadid=99060

Samira 10-25-2005 10:11 PM

But I have a rather extensive list and really like the table separation. (I did use your template here, though.)

akanevsky 10-25-2005 10:30 PM

Why not use bbcode formatting in my hack for separation? :P

Samira 10-25-2005 10:33 PM

LOL! I already installed this!


All times are GMT. The time now is 08:41 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.01236 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)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