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

Reply
 
Thread Tools
Post Icons Forum Permissions Details »»
Post Icons Forum Permissions
Version: 1.1.1, by El_Muerte El_Muerte is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-10-2006 Last Update: 03-20-2006 Installs: 52
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

'Post Icons Forum Permissions' allows you to restrict post icons to certain forums.
vBulletin only allows you to set permissions to user groups.

Another feature of this plugin is that it adds an option to group the post icons in the submission form. These groups are collapsable.

That's pretty much all this plugin does.
The plugin adds a new admincp page to the "Post Icons" groups that will allow you to set the permission for each forum. By default the post icon groups can be used in all forums.

To install simply copy the 'pifp.php' file to the admincp directory and install the product XML. You will need to reload the admincp menu frame in order for the new menu item to show up.

New in v1.0.1
  • Restrict usage to first post (the initial thread post)
  • Restrict usage to replies
  • Restrict usage in Private Message (or rather all non-forum posts) (first post and reply settings have no effect on this setting)

New in v1.1
  • Post icon grouping
    You can enable this feature in the vbulletin settings under "Message Posting Interface Options" -> "Post icon grouping" (disabled by default)

New in v1.1.1
  • Initially only the category of the post icon group that contains the selected icon is not collapsed. If no post icon was set (new replies) the first group is collapsed. This way only one category will be open when editing or creating a post.

Show Your Support

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

Comments
  #22  
Old 06-26-2006, 02:40 AM
vibe vibe is offline
 
Join Date: Jan 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zippokid
This doesn't work for me. I get a message of this

Code:
Database error in vBulletin 3.5.4:

Invalid SQL:

CREATE TABLE imagecategoryforums (
  imagecategoryid smallint(5) unsigned NOT NULL default '0',
  forumid smallint(5) unsigned NOT NULL default '0',
  KEY imagecategoryid (imagecategoryid,forumid)
);

MySQL Error  : Table 'imagecategoryforums' already exists
Error Number : 1050
Date         : Thursday, May 18th 2006 @ 12:06:02 AM
Script       : http://www.forum.net/bb/admincp/plugin.php
Referrer     : http://www.forum.net/bb/admincp/plugin.php?do=productadd
IP Address   : xxxxxxxxxxxxx
Username     : xxxxx
Classname    : vb_database
Any thoughts? I'd really like to implement this

Same here when trying to import
Reply With Quote
  #23  
Old 06-28-2006, 03:56 PM
vibe vibe is offline
 
Join Date: Jan 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, this is what I did:

I went ahead and delete "imagecategoryforums" table off from my SQL and re-imported the xml file and this is what I got.

Code:
Invalid SQL:

  ALTER TABLE imagecategoryforums ADD options TINYINT NOT NULL DEFAULT '0';;

MySQL Error  : You have an error in your SQL syntax near ';
' at line 2
Error Number : 1064
Can somebody advise me on this?
Thanks
Reply With Quote
  #24  
Old 07-12-2006, 01:29 PM
zippokid zippokid is offline
 
Join Date: Mar 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same thing happened to me.
Reply With Quote
  #25  
Old 11-11-2006, 06:21 PM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work for vb 3.6?
Reply With Quote
  #26  
Old 11-12-2006, 12:41 PM
johnstires johnstires is offline
 
Join Date: Mar 2006
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tested, works great for 3.6
Reply With Quote
  #27  
Old 12-16-2006, 11:16 PM
LBmtb LBmtb is offline
 
Join Date: Jan 2006
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vibe View Post
Okay, this is what I did:

I went ahead and delete "imagecategoryforums" table off from my SQL and re-imported the xml file and this is what I got.

Code:
Invalid SQL:

  ALTER TABLE imagecategoryforums ADD options TINYINT NOT NULL DEFAULT '0';;

MySQL Error  : You have an error in your SQL syntax near ';
' at line 2
Error Number : 1064
Can somebody advise me on this?
Thanks
It looks like there's an extra semi-colon.


Anyhoo . . . this mod sounds great. I'll be installing once I design my icons.
Reply With Quote
  #28  
Old 01-26-2007, 05:33 PM
Mindwarp Mindwarp is offline
 
Join Date: Jan 2005
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyways to keep it expanded so that the user did not have to?
Reply With Quote
  #29  
Old 01-27-2007, 06:55 AM
DevinM DevinM is offline
 
Join Date: Mar 2006
Location: The Bayou
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack works great for me on 3.6.4, by default it stays expanded for me. I didnt change anything.
Reply With Quote
  #30  
Old 07-11-2007, 08:54 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great on 3.6.7PL1.

Just one question, I cannot for the life of me figure out where to set permissions based on user group for the post icons...

I checked the manual, all it says is that you change it at the usergroup level, but I cannot find that in the usergroups at all!
Reply With Quote
  #31  
Old 07-13-2007, 09:41 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

welp, I've found an issue.

If I go into a thread that I have not created, and want to add in one of the new post icons that is assigned to a specific user group, it will show up fine from within the thread, however, if I go out to the thread litsings it does not show up.

But, if I edit a thread that I started and add in one of these icons, it will show up fine in the thread listings page.

Any ideas anyone?
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 09:22 PM.


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.04513 seconds
  • Memory Usage 2,308KB
  • 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_code
  • (2)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
  • (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