vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Post Icons Forum Permissions (https://vborg.vbsupport.ru/showthread.php?t=110093)

El_Muerte 03-10-2006 10:00 PM

Post Icons Forum Permissions
 
'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.

El_Muerte 03-11-2006 05:42 PM

Some screenshots of the AdminCP additions and the Post Icon Grouping from v1.1

AdminNation 03-11-2006 06:26 PM

Very cool. Will hit install once I download it later. One question though:

Could you set it so that certain icons could only be used in certain forums by specific groups? Such that an "Announcment" icon could only be used by Admins in the site news forum?

El_Muerte 03-11-2006 07:46 PM

yes, you simply have to set the premissions for the groups in the old fashion way and then set the forum permissions through this plugin.
The plugin extends the default behavior.

DevinM 03-11-2006 08:18 PM

This is awesome dude!!!!!

While it doesnt help me do everything I want, this is the next best thing!

Im gonna have a ton of icons in the NCAA forums. It would be cool if there were someway to categorize icons.

I will give it a go today.

reismarktq2 03-11-2006 11:32 PM

Gracias once again, Muerte. :)

[high]* reismarktq2 clicks install.[/high]

reismarktq2 03-12-2006 01:15 PM

Muerte, I've discovered one problem with this hack that's somewhat more of an oversight than a bug: Even if you set a post icon group to only show up in a few particular forums, they will still all show up when using private messages. This, obviously, is undesirable. Any way it can be changed so that PMs are covered by the hack as well?

El_Muerte 03-12-2006 02:23 PM

crap.. forgot about that, well you are just in time, I was about to publish 1.0.1 that also added the following features:

restrict to:
* first post only
* reply only

but I guess I'll have to add a PM restriction too

DevinM 03-12-2006 05:41 PM

Great hack man!

Perhaps a folder version in future updates?

reismarktq2 03-12-2006 05:59 PM

You, sir, are awesome. :)

[high]* reismarktq2 updates.[/high]

El_Muerte 03-12-2006 06:13 PM

Quote:

Originally Posted by DevinM
Great hack man!

Perhaps a folder version in future updates?

Folder version? You mean collapsable post icon groups?

DevinM 03-19-2006 02:40 PM

Yeah! what a great addition man nice work!

I will be installing this today!

El_Muerte 03-19-2006 03:33 PM

ps, there is only one minor issue. by default the post icon groups are not collapsed. I haven't found a way to force the initial collapsing and still respect the stored collapsing.

DevinM 03-20-2006 07:02 AM

Well its a very useful hack, if you do end up resolving that minor bug ill re-install.

Already sent this link to a few admins I know needing something like this.

El_Muerte 03-21-2006 06:55 PM

Well that should take care of it all

reismarktq2 03-24-2006 02:15 PM

More awesome stuff, Muerte.

[high]* reismarktq2 upgrades.[/high]

You may wanna rename the hack though, since grouping icons has absolutely nothing to do with their permissions whatsoever. ;)

El_Muerte 03-24-2006 03:43 PM

maybe, but I like the PIFP abreviation ;)

ForeverForums 05-14-2006 03:10 PM

Ive been looking for this for soooooooooo long. I finally found it while searching through ALL the hacks thanks so much for this very helpful hack :D

zippokid 05-18-2006 03:07 AM

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

bashy 06-25-2006 11:36 AM

Hi

This works well when creating a new thread, but when editing an older
thread since installing this hack the icons dont show that have been set for the said forums!!

Any advice please?

vibe 06-26-2006 02:40 AM

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

vibe 06-28-2006 03:56 PM

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

zippokid 07-12-2006 01:29 PM

Same thing happened to me.

johnstires 11-11-2006 06:21 PM

Does this work for vb 3.6?

johnstires 11-12-2006 12:41 PM

Just tested, works great for 3.6

LBmtb 12-16-2006 11:16 PM

Quote:

Originally Posted by vibe (Post 1017663)
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.

Mindwarp 01-26-2007 05:33 PM

anyways to keep it expanded so that the user did not have to?

DevinM 01-27-2007 06:55 AM

This hack works great for me on 3.6.4, by default it stays expanded for me. I didnt change anything.

RedGTiVR6 07-11-2007 08:54 PM

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!

RedGTiVR6 07-13-2007 09:41 PM

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?

cynthetiq 08-11-2007 06:45 AM

Installed. 3.6.8 works fine

Tact7626 09-28-2007 01:56 AM

love it. thank you. marked as installed

Geez 10-04-2007 04:02 AM

thank you!! awesome mod. exactly what i was looking for. about to install!

Geez 10-04-2007 04:42 AM

is there a way to chose which group i want collapsed? id rather have a certain group automatically opened other than the generic post icons. thank you.

Geez 10-04-2007 04:45 AM

or at least a way to have both expanded as a default? let me know please! thank you :)

RedGTiVR6 02-27-2008 06:13 PM

Any ideas if this will work on 3.7?

dope15gd 07-10-2008 05:58 AM

Quote:

Originally Posted by RedGTiVR6 (Post 1452354)
Any ideas if this will work on 3.7?

working for me on a default install.

thanks OP

robbiefritz 01-11-2009 10:15 PM

Anything updated for 3.7?

DevinM 02-03-2011 06:56 PM

I wish this was able to work on 4.1!!!!!!!

kpmedia 06-06-2011 10:04 AM

Works well on 3.7 and 3.8.
Thanks.

.


All times are GMT. The time now is 04:39 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.01187 seconds
  • Memory Usage 1,807KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete