Quote Functionality in Social Discussions v1.0
As the title suggests this modification allows you to add message quote functionality to vBulletins Social Group discussions.
The installation of this product is made up of the following and does not require any file changes:
- One product import.
- One manual template modification.
- One configuration change.
Once installed an additional SQL query is made, however this only occurs when somebody clicks the quote button.
Installation : Product Import
The installation of this modification is fairly simple, for those that do not have experience of doing this here are the full steps:
- Download the attached zip file and extract to folder on your computer.
- Goto your Admin CP page (ACP).
- Open the "Plugins & Products" section.
- Click "Manage Products".
- On the page that opens scroll to the bottom and click "Add/Import Product".
- In the "EITHER upload the XML file from your computer" browse to the product XML file that you extracted in the first step (product-socialgroup_message_quote.xml)
- Click "Import"
- Sit back and watch vBulletin do its magic.
Installation : Template Modification- Goto your Admin CP page (ACP).
- Open the "Styles & Templates" section.
- Click "Style Manager".
- In the page that opens find the style(s) you want to edit and select "Edit Templates" from the drop down.
- In the "Social Groups Templates" section find the "socialgroups_message" template and open it.
- Find the following line in the template:
Code:
<ul class="list_no_decoration controls">
- Immediately after this paste the following:
Code:
<li class="smallfont"><a href="group.php?do=message&discussionid=$message[discussionid]&gmq=$message[gmid]">$vbphrase[quote]</a></li>
- You should end up with something that looks like this:
Code:
<ul class="list_no_decoration controls">
<li class="smallfont"><a href="group.php?do=message&discussionid=$message[discussionid]&gmq=$message[gmid]">$vbphrase[quote]</a></li>
<if condition="$message['edit']">
- Save the template changes.
Installation : Configuration Change
This modification has no custom configuration options. However it will only be functional if you have enabled quote bbcode for social groups. To do this follow the steps below:
- Goto your Admin CP page (ACP).
- Open the "vBulletin Options" section.
- Click "vBulletin Options".
- In the page that opens find the "Social Group Options" section and click "Edit Settings".
- Scroll down to the "Allowed BB Code Tags in Social Group Messages" section
- Enable "Allow Quote BB Code" by checking the box
- Scroll to the bottom and click "Save"
If you do not follow these steps when a user attempts to quote a message they will be shown an error stating that quote BBCode is not allowed
Other Information
In this version only simple quoting is supported, therefore it is
not currently possible to multiquote.
This is one of the mods in my "Why isn't this stuff in the default social group system" series, for the others see these mods:
And finally...
You know the deal if you install and use the mod please mark it as installed, if you really like it nominate it for mod of the month.