vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Quick prefix change for thread starter (Vb4) (https://vborg.vbsupport.ru/showthread.php?t=234086)

trilOByte 01-25-2010 01:15 AM

Quick prefix change for thread starter (Vb4)
 
Hi guys, I have several forums set up as sales forums using thread prefixes...

[For Sale]
[Sold]

...what I want to do is put a button in the postbit of the first post in a thread, that is only visible to a thread starter and staff. What I want the button to do is to change the thread prefix from [For Sale] to [Sold]. At the moment the sellers change the prefix by editing the thread title, but it involves several clickthroughs. What I would like to do is make it as easy as possible for sellers to change the prefix by using a "mark item [Sold] button". Members find the searchable prefixes very useful, but they are only good if the members are diligent about changing the prefix. It would be nice if the button also locked the thread. I only want the button to appear in certain specified forums. I'm thinking this can all be done with conditionals, but I've been away from vB code for so long now and it's changed so much I havent a clue where to start.

Any help woul;d be much appreciated.

Thanks.

oople 11-30-2010 04:32 PM

Did you ever find a way to do this? I'm looking to do the same thing.

oops - sorry, I'm not moved to vb4 yet.


All times are GMT. The time now is 08:14 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.01085 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete