vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   End-User Options - Classifieds: Mark Thread as "Sold" (https://vborg.vbsupport.ru/showthread.php?t=260699)

blind-eddie 01-05-2014 04:55 PM

For this to work properly, the SHOWTHREAD template must be edited.
Not sure why you can not edit the template....

Markos 01-05-2014 05:00 PM

Yeah me too ive tried in all my styles and disabled all add-ons and still cant.

Markos 01-05-2014 05:21 PM

Quote:

Originally Posted by blind-eddie (Post 2472413)
For this to work properly, the SHOWTHREAD template must be edited.
Not sure why you can not edit the template....

I got it mate god knows why but wouldnt save on chrome but will save on firefox :confused:

blind-eddie 01-05-2014 05:32 PM

That's good to hear. All browsers suck... each has issues and every site looks and functions different in each.

Markos 01-05-2014 06:06 PM

Yeah true.

See if i mark a post as sold and then unsold is it meant to put the For Sale tag back on as it doesn't set any tag once its marked unsold again

blind-eddie 01-05-2014 07:50 PM

There is no Un-Sold Tag, if it doesn't say Sold, its still available. lol

jjdurrant 03-30-2014 11:49 PM

Installed on 4.1.9.. thanks man!

bremereric 10-08-2015 10:08 PM

Installed it on 4.1.3 before and it worked. Not quite the same code on the showthread style on vb 4.2.3. I double checked everything. It just won't show the option to mark it sold on the drop down menu. Here is the style code.

<vb:if condition="$show['addpoll']">
<li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}poll.php?{vb:raw session.sessionurl}do=newpoll&amp;t={vb:raw threadid}">{vb:rawphrase add_a_poll_to_this_thread}&hellip;</a></li>
</vb:if>
<vb:if condition="$show['soldthread']">
<li><a href="sold.php?{vb:raw session.sessionurl}do=marksold&amp;t={vb:raw threadid}">{vb:rawphrase soldthread_marksold}&hellip;</a></li>
<vb:else />
<vb:if condition="$show['soldthread_unsold']">
<li><a href="sold.php?{vb:raw session.sessionurl}do=markunsold&amp;t={vb:raw threadid}">{vb:rawphrase soldthread_markunsold}&hellip;</a></li>
</vb:if>
</vb:if>

bremereric 10-09-2015 10:45 PM

My bad I forgot to go into the usergroup permissions and allow it. I need the html code to turn the black sold to a red sold.

bremereric 10-10-2015 07:46 PM

In case someone else needs to the change the color of Sold in the thread prefix use this in the rich text box.

HTML Code:

<font color=red>SOLD</font>


All times are GMT. The time now is 10:05 AM.

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.01110 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete