The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
CMS plugin to allow a different number of attachments from forum
Currently vbulletin only has one setting to limit the number of attachments in the forum. This one setting, unfortunately, also limit the CMS to the same number of attachments. So, for instance if I wanted to allow 5 attachments per post in the forum, I can only allow 5 attachments per post in the CMS articles.
What I am looking for is a way to set a separate limit for the number of allowed attachments in the CMS. I currently use my cms as an article section without comments. I would like to have up to 25 attachments allowed within a single article, but do not want more than 4 or 5 attachments allowed in a regular forum post. I am requesting a plugin that would create a setting in the admincp (preferably in the CMS settings area) to set the number of allowed attachments per article. Anyone know how to create such a plugin? Seems like this should be a standard setting for a Content Management System. Thanks so much! Kether |
#2
|
||||
|
||||
I am not hitting any restrictions on my forum for posting attachments via linking images, only when using the full attachment manager.
Try this though, its just a plugin, so import it via the plugin manager: Download / Upload Plugins |
#3
|
|||
|
|||
Thanks Zachery! I appreciate you taking the time to help me by creating this plugin. I will give it a try now.
Much appreciative, Kether Hi Zachery, Seems this plugin is overriding the forum permission. I am going to play with the execution order to see if that will change anything. It totally worked for the CMS, but after posting an article with 22 images, I posted a link in the forum (which is set to accept only 4 images) and I uploaded 5 attachments into one post. Before the plugin, I would get a red "!" icon saying that I was limited to only 4 attachments. I will post back if the execution order changes anything. Thanks again. --------------- Added [DATE]1302119766[/DATE] at [TIME]1302119766[/TIME] --------------- Seems the plugin overrides the forum attachment limit. Any ideas on how to get it to work? Thanks Kether |
#4
|
||||
|
||||
I might be using the wrong check.
Edit the plugin and replace CMS_SCRIPT == true with THIS_SCRIPT == vbcms |
#5
|
|||
|
|||
I just tried it with the edit, but no joy. The forum limit of 4 images is being maintained in the CMS. Any other ideas?
Thanks, Kether |
#6
|
|||
|
|||
I hate to bump this, but I do need some help. Can anyone offer any additional assistance to get this to work correctly? Thank for your effort Zachery.
Kether |
#7
|
|||
|
|||
Once more for good measure. BUMP!
I really need some help with this. Anyone? Thanks, Kether |
#8
|
|||
|
|||
Guess this is not possible then? I hope that vb will improve the cms with some permissions soon.
|
#9
|
||||
|
||||
Have you tried anything on your own?
|
#10
|
|||
|
|||
hahaha... your kidding me, right? I have tried lots of variations of the code in the plugin, different hooks, different ex orders -- but just cannot get anything to work. Sure it increases the number of allowed attachments in the CMS, but it also changes in the forum. They seem inseparable.
I am at a loss at what else to try. I posted at vb.com and here. I sent pms to a couple of my buddys who both said that they wouldn't even consider using the CMS. You are the only person to respond positively with any direction at all in the two public forums. Maybe no one else is having this issue?? I am not sure what else to do. If you have any suggestions - I am willing to try. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|