Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GTPosting Rules: Posting Rules near editor Details »»
GTPosting Rules: Posting Rules near editor
Version: 1.1.2, by Princeton Princeton is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.8 Rating:
Released: 10-16-2006 Last Update: 06-12-2007 Installs: 148
Uses Plugins Template Edits
 
No support by the author.

Custom modification brought to you by Joe Velez (aka Princeton vbulletin.org Admin).

Sometimes, it's the little things in life that makes us happy:

GTPosting Rules is a NO TEMPLATE EDITS mod to display Posting Rules near the editor. This mod will add the Posting Rules to all editors including quickreply and quickedit. Take a look at the following attachments if you do not understand what I mean.

Show your support and click Mark As Installed, Nominate For MOTM, or Support Developer.

All you have to do is upload the "product-gtpostingrules.xml" file via the Plugins & Products System.

No template edits required.

by Princeton, GO-TOTAL LLC, Vineland, NJ USA

To exclude rules from showing up under the editor, open the GTPR: Process Rules: editor_toolbar_end plugin and add the THIS_SCRIPT value of page to the $excludegtprules array.


History:

v 1.1.2 : Fixed Quick Edit problems and added option to exclude specific pages.
v 1.1.1 : Fixed Template Edit Error
v 1.1.0 : Fixed rules from displaying in Edit Signature.
v 1.0.0
: Missing template in xml.

You may also be interested in:

Show Your Support

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

Comments
  #32  
Old 01-13-2007, 09:59 PM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Princeton...

Seems to work fine everywhere but the quick editor. Did the quick editor template edit, and whenever I do a quick edit, no text shows up in the editor box. I revert that template, and it works fine without the posting rules though. Until that is fixed, I will continue to have this installed, just without the quick edit template edit. :P
Reply With Quote
  #33  
Old 01-14-2007, 05:31 PM
category category is offline
 
Join Date: Jul 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a question how come when you edit a thread instead of the text you have its blank?
Reply With Quote
  #34  
Old 01-14-2007, 05:35 PM
category category is offline
 
Join Date: Jul 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you made a mistake in your manual installation

Quote:
FIND IN postbit_quickedit:
$newpost[message]</textarea>


REPLACE WITH:
</textarea></div>
<div class="smallfont" align="center"><strong>$vbphrase[posting_rules]</strong>:
<phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[vb_code_is_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase>,
<phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase>,
<phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase>
</div>
you should not remove $newpost[message] in your edit becuase if you try to edit your post it will be blank
Reply With Quote
  #35  
Old 01-16-2007, 05:35 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by category View Post
you made a mistake in your manual installation



you should not remove $newpost[message] in your edit becuase if you try to edit your post it will be blank
thanks for the heads up one of my mods told me about it and was having that problem but when adding that $newpost[message] it seem to solve the problem i think that Manuel script install probably a typo.
Reply With Quote
  #36  
Old 01-17-2007, 10:17 AM
Orcun Orcun is offline
 
Join Date: Dec 2005
Location: Ankara
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need to add a Custom Mark like <!--NaBura--> to Showthread_quickreply toget rules under the WYSIWYG editor like here and changed the Case switch statement according to change.

Thanks
Reply With Quote
  #37  
Old 01-20-2007, 02:53 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good catch ... I've updated the zip file Jan 15th for those interested.
Reply With Quote
  #38  
Old 01-20-2007, 09:29 PM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because the product did not work for me (rules showed up above the editor and below the editor buttons like bold)
I did the manual install and discovered a few errors in your txt file.

I have attached a working version with these errors corrected.

I have also moved the rules inside the editor when writing with the advanced editor because of consistency, this is also included into this txt.
However, I don't know if this will conflict with your smiley below editor mod, cause I don't use it.

So use my modification in "editor_toolbar_on" at your own risk!

Thank you for this nice Hack

StarBuG
Reply With Quote
  #39  
Old 01-24-2007, 03:33 PM
arena's Avatar
arena arena is offline
 
Join Date: Oct 2006
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #40  
Old 01-28-2007, 03:22 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx!
/me installs
Reply With Quote
  #41  
Old 01-29-2007, 12:31 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by da420 View Post
Thanks Princeton...

Seems to work fine everywhere but the quick editor. Did the quick editor template edit, and whenever I do a quick edit, no text shows up in the editor box. I revert that template, and it works fine without the posting rules though. Until that is fixed, I will continue to have this installed, just without the quick edit template edit. :P
Same reason
Had to unistall
Reply With Quote
Reply


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 11:18 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.04912 seconds
  • Memory Usage 2,305KB
  • 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
  • (3)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
  • (4)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