vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - EG - Custom Signature Rules (https://vborg.vbsupport.ru/showthread.php?t=139562)

six58 02-18-2007 07:17 AM

excellent
thanks for updating so quickly...the wrap is working well in my rules thank you :)

mac27 02-18-2007 07:20 AM

You are welcome. Glad to get it going how you wanted. :D

Ohiosweetheart 02-23-2007 08:25 PM

I'm loving this! :)

Sofia 03-17-2007 11:19 AM

Thanks a lot for this hack :) Great !!

But if i don't use all rules (for example 3 rules), the rules where there is "N/A" -> N/A appears.

So you can effectuate this modification in the XML :

Find :

Code:

<TABLE class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<TR> <TH COLSPAN=2 class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0"><strong>Signature Rules</strong></TH> </TR>
<TR><TD align="left" valign="top" class="alt1" WIDTH=50%><menu>
<li type="circle">$vboptions[eagle_sigrule_1]
<li type="circle">$vboptions[eagle_sigrule_3]
<li type="circle">$vboptions[eagle_sigrule_5]</TD> <TD align="left" valign="top" class="alt1" WIDTH=400><menu>
<li type="circle">$vboptions[eagle_sigrule_2]
<li type="circle">$vboptions[eagle_sigrule_4]
<li type="circle">$vboptions[eagle_sigrule_6]</menu></TD> </TR>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<TR><TD class="alt1" width=100%><strong>**$vbphrase[eagle_add_notes]</strong>
$vboptions[eagle_sigrule_7]</TD></TR>
</TABLE>

Replace by :

Code:

<TABLE class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<TR> <TH COLSPAN=2 class="tcat" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0"><strong>R?gles des signatures</strong></TH> </TR>
<TR><TD align="left" valign="top" class="alt1" WIDTH=50%><menu>
<if condition="$vboptions[eagle_sigrule_1]"><li type="circle">$vboptions[eagle_sigrule_1]</if>
<if condition="$vboptions[eagle_sigrule_3]"><li type="circle">$vboptions[eagle_sigrule_3]</if>
<if condition="$vboptions[eagle_sigrule_5]"><li type="circle">$vboptions[eagle_sigrule_5]</if></TD> <TD align="left" valign="top" class="alt1" WIDTH=400><menu>
<if condition="$vboptions[eagle_sigrule_2]"><li type="circle">$vboptions[eagle_sigrule_2]</if>
<if condition="$vboptions[eagle_sigrule_4]"><li type="circle">$vboptions[eagle_sigrule_4]</if>
<if condition="$vboptions[eagle_sigrule_6]"><li type="circle">$vboptions[eagle_sigrule_6]</if></menu></TD> </TR>
<if condition="$vboptions[eagle_sigrule_7]"><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<TR><TD class="alt1" width=100%><strong>** $vbphrase[eagle_add_notes]</strong>
$vboptions[eagle_sigrule_7]</TD></TR>
</TABLE></if>


mac27 03-17-2007 01:56 PM

Yes you could do that. You could also just leave the rules blank so they don't show anything.

paradoxx109 03-17-2007 03:12 PM

sweet, once adviced to the user, lets you edit anytime you want without asking the user to do it.

Sofia 03-17-2007 06:09 PM

Quote:

Originally Posted by mac27 (Post 1205627)
Yes you could do that. You could also just leave the rules blank so they don't show anything.

When I made it, it showed circles (<li>). It's for this reason :p

epoc fitness 07-24-2007 01:55 AM

Is there a way or does anyone know of another mod which will let me replace a signature with a signature stating that their signautre has been disabled and to re-read the rules edit their signature and then allow me to turn it back on manually.

bada_bing 11-20-2007 12:22 AM

Will this work on VB 3.5.x ?


All times are GMT. The time now is 10:42 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.01693 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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