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
  #22  
Old 02-17-2007, 02:04 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am sorry for the problems.

I am glad it is working for you now.
Reply With Quote
  #23  
Old 02-17-2007, 02:21 AM
stwilson stwilson is offline
 
Join Date: Dec 2006
Location: USA
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Mac27....that update is exactly what I was looking for!!! Sweet MOD.
Reply With Quote
  #24  
Old 02-17-2007, 02:25 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are very welcome. I am glad you like it and thanks to you and everyone else that has clicked install so far. I appreciate it.
Reply With Quote
  #25  
Old 02-17-2007, 05:27 AM
six58 six58 is offline
 
Join Date: May 2005
Location: Australia
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i like it..temporary measure til we can have actual signature limits hack like on 6.5

only hassle i am having is unless i limit my text in the rules, the two columns are not even...the first column with the first three rules runs across the whole line pushing the second column with its three rules into a narrower column..just looked very untidy and have to abbreviate my rules which i'd have preferred not to do.

nice hack
Reply With Quote
  #26  
Old 02-17-2007, 05:50 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it wasn't designed for long laid our rules. More for to the point short rules.

I will look at doing a fix for that in the next update. Thanks for the feedback.

Thanks again
Reply With Quote
  #27  
Old 02-17-2007, 11:29 PM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your rule is more than a few words you could try this alternate method of displaying the template:

Code:
<if condition="$vbulletin->options['eagle_sigrule_on']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<td class="tcat">		
$vbphrase[sig_rules]
</td>
</tr>
<tbody>
<tr>
	<td class="alt1">
<div class="smallfont">
			<div style="float:$stylevar[left]; margin-right:10px">
<menu>
<div><LI type="circle">$vboptions[eagle_sigrule_1]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_2]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_3]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_4]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_5]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_6]</div>
</div></menu>
</td></tr>
<tr><TD class="alt1" COLSPAN="2">
<div style="float:$stylevar[left]; margin-right:10px">
<div>
<strong>**$vbphrase[eagle_add_notes]</strong>
$vboptions[eagle_sigrule_7]</div>
</div>
</td>
</tr>
</tbody>
</table>
</if>
<br />
I found that it left a gap between rule 3 & 4 and this looks alot cleaner for me.

(the edit is common sense...but its for the benifit of those who don't do HTML )
Reply With Quote
  #28  
Old 02-17-2007, 11:34 PM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good point for those that want to use it. But that will also stretch your rules down in a single column and make the rules block longer. I went for a compact look.

I am sure someone will use it. Thanks for posting it.
Reply With Quote
  #29  
Old 02-17-2007, 11:53 PM
MThornback MThornback is offline
 
Join Date: Apr 2005
Location: Canada
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<if condition="$vbulletin->options['eagle_sigrule_on']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
	<td class="tcat">		
$vbphrase[sig_rules]
</td>
</tr>
<tbody>
<tr>
<td class="alt1">
<div class="smallfont">
<table border="1" width="100%">
<tr>
<td valign="top">
<div style="float:$stylevar[left]; margin-left:1px">
<menu>
<div><LI type="circle">$vboptions[eagle_sigrule_1]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_2]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_3]</div>
</div></menu>
</td>
<td valign="top">
<div style="float:$stylevar[left]; margin-right:1px">
<menu>
<div><LI type="circle">$vboptions[eagle_sigrule_4]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_5]</div>
<div><LI type="circle">$vboptions[eagle_sigrule_6]</div>
</div></menu>
</td>
</tr>
</table>
</td></tr>
<tr><TD class="alt1" COLSPAN="2">
<div style="float:$stylevar[left]; margin-right:10px">
<div>
<strong>**$vbphrase[eagle_add_notes]</strong>
$vboptions[eagle_sigrule_7]</div>
</div>
</td>
</tr>
</tbody>
</table>
</if>
<br />
A TEMP work around till the author comes up with something better this is a hackjob at best.

All this will do is split the rules into 2 table cells forcing them to even up.
Reply With Quote
  #30  
Old 02-18-2007, 01:49 AM
mac27 mac27 is offline
 
Join Date: Jun 2006
Location: Kentucky
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to Version 1.6

OK this modification has been updated. The rules will now wrap. Thanks for the suggestion and pointing this out six58.

Let me know how this works for you.
Reply With Quote
  #31  
Old 02-18-2007, 02:12 AM
cybrnetico cybrnetico is offline
 
Join Date: Jun 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Work Mac!
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 03:46 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.07137 seconds
  • Memory Usage 2,301KB
  • 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
  • (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