vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Signature Rules - post rules for users to follow (https://vborg.vbsupport.ru/showthread.php?t=232499)

SonicGT 01-08-2010 12:51 PM

Quote:

Originally Posted by Kolbi (Post 1950223)
Looks nice but can be done with a simple template modification. :)

Yea it can be a template modification, and is not that complex, thus why I chose to do this for my first mod attempt, and I feel I learned a decent amount about how the plugin system works doing it :up:
Also I myself tend to like the plugin system a little better then having to add alot to my templates on my boards and this makes it a little easier on me when/if I need to change my rules I can just go into settings and make an update :D

And thanks everyone for compliments so far

Deirdre 01-13-2010 06:06 AM

love it! very nice indeed!

Selcor 01-19-2010 04:36 PM

I apply the mod and configure in Admincp-options-Signature Rules.

Add to template "modifysignature" and "newThread" and does nothing, it shows all the same.

Using Vb 4.0.1

:(

cloferba 01-19-2010 11:49 PM

Quote:

Originally Posted by Selcor (Post 1960355)
I apply the mod and configure in Admincp-options-Signature Rules.

Add to template "modifysignature" and "newThread" and does nothing, it shows all the same.

Using Vb 4.0.1

:(

Selcor? i only know one guy which uses that username...in all world

are you or dont? :)

SonicGT 01-20-2010 02:13 AM

Quote:

Originally Posted by Selcor (Post 1960355)
I apply the mod and configure in Admincp-options-Signature Rules.

Add to template "modifysignature" and "newThread" and does nothing, it shows all the same.

Using Vb 4.0.1

:(


It will not work in any other template then the modifysignature, so the newthread behavior is expected.

Can you verify that under admincp that you do have the mod enabled, and that you have
Code:

{vb:raw signaturerules}
as the first line of your modifysignature template.

If so can you post screenshots of all 3 locations (options, template, and what a user sees when editing signature)

Selcor 01-20-2010 05:07 PM

The mistake is mine, sorry, misunderstand the function of this MOD. This works well.

Thank you.


Pd: cloferba, my real nick is Gmaster :D

LbR 01-20-2010 05:38 PM

Every template edit will be needed in each theme i add in future :S

SonicGT 01-20-2010 06:35 PM

Quote:

Originally Posted by LbR (Post 1961408)
Every template edit will be needed in each theme i add in future :S

It depends on how you add themes, but if all themes are added at the top level then yes, unfortunatly vb does not have a hook at the location that I want to display the mod.
What I do to get around this is I make my themes all a child of the default style, then make the edit in the default style and it propagates to all children without having to modify each on individually

cloferba 01-23-2010 01:22 PM

Quote:

Originally Posted by SonicGT (Post 1961466)
It depends on how you add themes, but if all themes are added at the top level then yes, unfortunatly vb does not have a hook at the location that I want to display the mod.
What I do to get around this is I make my themes all a child of the default style, then make the edit in the default style and it propagates to all children without having to modify each on individually

that would be great!

plase! :D

wayne.richards@ 01-23-2010 02:03 PM

Fan Bluddy Tastic Sonic! What A Great Little Mod! Thank You! :up:

Working great on 4.0.1


All times are GMT. The time now is 07:01 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.01246 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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