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
  #82  
Old 08-08-2007, 03:11 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ssslippy View Post
Princeton could you update this to work with Project Tools. Currently it says they are off but are they on or is this not possible?
click "Mark As Installed" if you want to be notified on new updates

add this to the switch statement in Process Rules (editor_toolbar_end) plugin:
PHP Code:
        case 'project':
        case 
'projectpost':
            
$bbcodeon = ($vbulletin->options['pt_allowbbcode']) ? $vbphrase['on'] : $vbphrase['off'];
            
$imgcodeon = ($vbulletin->options['pt_allowbbimagecode']) ? $vbphrase['on'] : $vbphrase['off'];
            
$htmlcodeon = ($vbulletin->options['pt_allowhtml']) ? $vbphrase['on'] : $vbphrase['off'];
            
$smilieson = ($vbulletin->options['pt_allowsmilies']) ? $vbphrase['on'] : $vbphrase['off'];
            break; 
Reply With Quote
  #83  
Old 08-08-2007, 03:39 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where exactly does the code need to go in the plugin?
Reply With Quote
  #84  
Old 08-08-2007, 03:55 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you can add it right below

PHP Code:
    switch (THIS_SCRIPT)
    { 
Reply With Quote
  #85  
Old 08-14-2007, 08:06 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Princeton. Thanks for pointing me where to put the code. I just noticed that the Photoplog pictire gallery script I use has the same problem with the permissions not showing correctly. Is there a way for me to get the permissions to show correctly on the editor from with my Photoplog pages?
Reply With Quote
  #86  
Old 08-14-2007, 08:19 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry, can't help there .. I don't use Photoplog.
Reply With Quote
  #87  
Old 08-14-2007, 08:20 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, thanks. Would it be similar to adding what you did for the Project Tools? Or is there something more that needs to be done in addition to this?
Reply With Quote
  #88  
Old 08-22-2007, 09:27 PM
wickland wickland is offline
 
Join Date: Jul 2007
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!

Thanks!
Best Regards
Reply With Quote
  #89  
Old 08-22-2007, 11:58 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone with Vbseo used this?

When I delete the code from the "posting rules" the vbseo code also gets deleted. It's weird.
Reply With Quote
  #90  
Old 08-30-2007, 12:42 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Prinecton, I have installed the vBulletin Blog and noticed that the posting rules (near the editor - with this MOD) aren't correct, the same problem that had happened with Project Tools. Would it be possible for a fix for this? Thanks.
Reply With Quote
  #91  
Old 09-15-2007, 07:23 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is cool but my lenguage is not helping with this mod thats a shame
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 10: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.08933 seconds
  • Memory Usage 2,314KB
  • 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_php
  • (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
  • (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