Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
EG - Custom Signature Rules Details »»
EG - Custom Signature Rules
Version: 1.6, by mac27 mac27 is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.3 Rating:
Released: 02-15-2007 Last Update: 02-17-2007 Installs: 57
Uses Plugins Template Edits
 
No support by the author.

Here is my very first hack. It is a signature rules hack. It is pretty simple. Someone had asked me if I could throw this together and so I did and now I figure I would share it just in case someone else wants to use it.

You set the rules in your adminCP and they show up in the edit signature window in the userCP. It will help the users know what rules they must follow when using a sig on your forum. This doesn't control their sigs it just gives them rules that they must follow or you have the right to delete their sig.

Screen shots attached.

Time to install: 1 minute


Version: 1.6
Fixed it so longer rules will wrap and not cause the rules to spread out.
Updated screen shot to show this.

Version: 1.4
Fixed it so the Additional Notes field is below the rules.


UPGRADE:
Just upload the new product file and select yes to allow override and that is it.

Show Your Support

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

Comments
  #32  
Old 02-18-2007, 07:17 AM
six58 six58 is offline
 
Join Date: May 2005
Location: Australia
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent
thanks for updating so quickly...the wrap is working well in my rules thank you
Reply With Quote
  #33  
Old 02-18-2007, 07:20 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are welcome. Glad to get it going how you wanted.
Reply With Quote
  #34  
Old 02-23-2007, 08:25 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm loving this!
Reply With Quote
  #35  
Old 03-17-2007, 11:19 AM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #36  
Old 03-17-2007, 01:56 PM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes you could do that. You could also just leave the rules blank so they don't show anything.
Reply With Quote
  #37  
Old 03-17-2007, 03:12 PM
paradoxx109 paradoxx109 is offline
 
Join Date: Mar 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet, once adviced to the user, lets you edit anytime you want without asking the user to do it.
Reply With Quote
  #38  
Old 03-17-2007, 06:09 PM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mac27 View Post
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
Reply With Quote
  #39  
Old 07-24-2007, 01:55 AM
epoc fitness epoc fitness is offline
 
Join Date: Nov 2006
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 11-20-2007, 12:22 AM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work on VB 3.5.x ?
Reply With Quote
Reply

Thread Tools

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 05:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04701 seconds
  • Memory Usage 2,297KB
  • Queries Executed 26 (?)
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
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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