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)

venom2124 03-21-2011 10:27 PM

Quote:

Originally Posted by BadgerDog (Post 2175939)
Also, just tested using my own Administrator login and attempted to mark an ad as SOLD belonging to another member ....

The Mark as SOLD option appears in the drop down box, but when I click on it, I received a "No Permissions error ...."

Yes, I have the Usergroup box for Admins checked to YES ... ;)

I thought Admins could do this, or have I missed something in the instructions? :confused:

Regards,
Doug

I'm currently using 4.1.2, but if you want to pm me the site and a temp admin password I can take a look and see if I can find the problem. Kind of new to development so would have to play around with the set up to see what's going on.

venom2124 03-22-2011 12:40 AM

Okay found a possible problem in the coding. Try the new zip file reload files and install product again overwriting the old product file.

venom2124 03-22-2011 02:15 AM

Okay problem is solved. Had some coding issue that have been resolved. Loaded on another site I admin on and working perfectly now.

If you have already loaded the files just reload the updated sold.php to your forum folder and it will work like a charm.

MikeTrin 03-22-2011 02:28 AM

i tried version 1.1 with vbulletin 4.0.4, couldn't get the permissions set correctly. I enabled the thread prefix for all groups, turn it on in the classified forums, enabled it for all user groups but would get a message that I don't have permission to mark a thread sold. even when i tried as site admin.

if you can think of anything that may help please let me know, i may mess with it later.

venom2124 03-22-2011 02:32 AM

Quote:

i tried version 1.1 with vbulletin 4.0.4, couldn't get the permissions set correctly. I enabled the thread prefix for all groups, turn it on in the classified forums, enabled it for all user groups but would get a message that I don't have permission to mark a thread sold. even when i tried as site admin.

if you can think of anything that may help please let me know, i may mess with it later.
Upload the sold.php from version 1.2 and you'll be good to go.

BadgerDog 03-22-2011 10:14 AM

Re-tested patched v1.2 with thanks against 4.04 vBulletin ...

ALL field titles and descriptions now appear correctly ... :up:

As an Admin, selected a random WTS (Want to Sell) post in or Buy/Sell forum, posted by another member. Clicked drop down box and selected "Mark as Sold". Worked correctly and post now displayed [SOLD] instead of the prefix WTS: :up:

As an Admin, selected the SAME WTS (Want to Sell) post in or Buy/Sell forum. Clicked drop down box and selected "Mark as Unsold". Worked correctly, however, the post no longer displays a prefix at all, when it should reverse itself and display the original prefix, in this case it would have been WTS: :confused:

Can this be addressed, or is going to be a design limitation as I don't know how tou would keep track of what the original prefix was, except perhaps not replacing it, but simply adding [SOLD] in front of the original prefix?

Good job overall so far ... :up:

Regards,
Doug

Edit: Also, where can the phrase [SOLD] be changed so that it appears in a color of our choosing?

venom2124 03-22-2011 08:56 PM

Quote:

Originally Posted by BadgerDog (Post 2176152)
Re-tested patched v1.2 with thanks against 4.04 vBulletin ...

ALL field titles and descriptions now appear correctly ... :up:

As an Admin, selected a random WTS (Want to Sell) post in or Buy/Sell forum, posted by another member. Clicked drop down box and selected "Mark as Sold". Worked correctly and post now displayed [SOLD] instead of the prefix WTS: :up:

As an Admin, selected the SAME WTS (Want to Sell) post in or Buy/Sell forum. Clicked drop down box and selected "Mark as Unsold". Worked correctly, however, the post no longer displays a prefix at all, when it should reverse itself and display the original prefix, in this case it would have been WTS: :confused:

Can this be addressed, or is going to be a design limitation as I don't know how tou would keep track of what the original prefix was, except perhaps not replacing it, but simply adding [SOLD] in front of the original prefix?

Good job overall so far ... :up:

Regards,
Doug

Edit: Also, where can the phrase [SOLD] be changed so that it appears in a color of our choosing?

Yeah I'll have to see if there is a way to get the old prefix back, but again kind of new to this whole thing so that might be the only real downfall.

I can't really see too many items getting unsold if the user marks them sold after they are sold. It might be a bigger issue if you were working with a sale pending type deal.

Will still see if it can be done though.

Glad it's working for you now though for sure.

And yes you can modify the [Sold] by going to the thread prefix manager then select edit for The sold prefix. There you will see the plain text and rich text boxes. You can change the Plain text to Just Sold and then you can add HTML code to the rich text box to change the color, add bold, or just set it up how you would like.

Kenjiwing 03-24-2011 05:49 PM

Venom Just sent you a PM.. hope you will have time to check it! Thanks!

venom2124 03-25-2011 03:39 AM

PM replied to.

Shootsteel 03-25-2011 04:03 PM

Sorry for what may be a simple question to what is possibly a very simple answer. How can I change the color and add BOLD to the SOLD prefix?

Great little mod by the way ;)

Edit: I figured it all out, thanks for the great mod.


All times are GMT. The time now is 05:36 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.01185 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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