The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Classifieds: Mark Thread as "Sold" Details »» | |||||||||||||||||||||||||||||||||||||||||
If you use this modification, please >> Mark As Installed, and consider Nominate for MOTM and Support Developer <<
What is this!? This modification will allow you & your members (based on usergroup permissions) to mark a thread as "Sold". It will add the prefix "SOLD" to the thread title, and if set in the admincp - it will also close the thread. If you run a classified forum for your members this will give you a way to let users add a Sold prefix when the item is gone. Admins and mods can using to make items sold as well. This is a modification of code provided by Eric. Current Version 1.2 Sounds cool. How do I install? 1. Extract the zip, you should have the following directories/files: Code:
/ |_ install.html |_ product-soldthread.xml /upload/ |_ sold.php /upload/images/ /buttons/ |_ marksold.gif /upload/includes/ /xml/ |_ bitfield_soldthread.xml * /upload/sold.php to /yourforum/sold.php * /upload/images/buttons/marksold.gif to /yourforum/images/buttons/marksold.gif (upload to each style folder, if you have more than one style) * /upload/includes/xml/bitfield_soldthread.xml to /yourforum/includes/xml/bitfield_soldthread.xml 3. Import the product, product-soldthreads.xml by going to: AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product] 4. Make the following template edits to all of your installed styles: SHOWTHREAD Find: HTML Code:
<vb:if condition="$show['addpoll']"> <li><a href="poll.php?{vb:raw session.sessionurl}do=newpoll&t={vb:raw threadid}">{vb:rawphrase add_a_poll_to_this_thread}…</a></li> </vb:if> HTML Code:
<vb:if condition="$show['soldthread']"> <li><a href="sold.php?{vb:raw session.sessionurl}do=marksold&t={vb:raw threadid}">{vb:rawphrase soldthread_marksold}…</a></li> <vb:else /> <vb:if condition="$show['soldthread_unsold']"> <li><a href="sold.php?{vb:raw session.sessionurl}do=markunsold&t={vb:raw threadid}">{vb:rawphrase soldthread_markunsold}…</a></li> </vb:if> </vb:if> 6. Edit Sold Threads Permissions > Can Mark Threads as Sold for each usergroup. 7. To setup the forums it can be used in, follow these instructions:
Upgrade:
Changelog: V1.0- Initial Release V1.1- Updated bitfield_soldthread file V1.2- Fixed permission issue If you use this modification, please >> Mark As Installed, and consider Nominate for MOTM and Support Developer << NOTE: This mod is marked "unsupported", but I'll try my best (as time permits) to help those who have marked as installed. Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
wrang |
Comments |
#132
|
|||
|
|||
Quote:
It's giving a huge error when I try to uninstall it Code:
Fatal error: Existing data passed is not an array Called set_existing in [path]/***/plugin.php(1558) : eval()'d code on line 20 Called eval in [path]/***/plugin.php on line 1558 in [path]/includes/class_dm.php on line 265 #0 vb_error_handler(256, Existing data passed is not an array Called set_existing in /home/w/public_html/***/plugin.php(1558) : eval()'d code on line 20 Called eval in /home/w/public_html/***/plugin.php on line 1558 , /home/w/public_html/includes/class_dm.php, 265, Array ([existing] => ,[line] => Called set_existing in /home/w/public_html/***/plugin.php(1558) : eval()'d code on line 20 Called eval in /home/w/public_html/***/plugin.php on line 1558 ................... How to uninstall it? |
#133
|
|||
|
|||
i would disable rather than uninstall, ive read all pages, and people were saying uninstall meant rebuild unless you have a good backup. nice susat too.
|
#135
|
|||
|
|||
I think I have got it. If one deletes the prefix manually and then try to uninstall this it will cause an error. I manually recreate the prefix and it unistalled just fine. (worth adding into the desrtiption) N
Now will try to install and wait |
Благодарность от: | ||
ScottishScoobie |
#136
|
|||
|
|||
And now it works! waited for two or three minutes. Was witchcraft a part of programming?
Nommed in hope the next versions will have no hassle |
#137
|
|||
|
|||
When I mark something as "unsold" the previous prefix isn't restored. Is there any way to add this functionality?
|
#138
|
|||
|
|||
i guess in the days of cable speed internet and SSD's we are just impatient to let systems get on and do their thing and settle down.
|
#139
|
|||
|
|||
I don't see any option to mark threads sold in the 'thread tools' menu... uploaded all files and made the template edit.
running 4.1.12 |
#140
|
|||
|
|||
Nice Mod. With some changes (i want a "closed" instead a "sold" as Prefix, it´s what i´m looking for a long time. But one question (perhaps for another Version):
- Is it possible, to add more than one one "Sold" as chooseable Prefix? Perhaps so the User can easyly choose a wanted Prefix in the Thread Tools. - Is it possible to prevent the Prefix from the normal Prefix-List when a User Post a new Thread? |
#141
|
|||
|
|||
I got two errors, if i wanna install the Mod:
after changing the Showthread Code, i got the following Message: Parse error: syntax error, unexpexted T_STRING in ...../includes/adminfunctions_template.php(5432) : eval()'d code on Line 373 When i ignore the warning, i can´t read any Thread. Cause the following error occures: Parse error: syntax error, unexpexted T_STRING in ...../includes/class_core.php(4633) : eval()'d code on line 373 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|