Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 Feb 2018, 11:55
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
Update Thread Title Global

We have a pretty big thread and the title needs to be changed for each post. Instead of doing it manually if you change the first post how do you update it globally?

Thank you,
JJ
Reply With Quote
  #2  
Old 15 Feb 2018, 20:04
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
Anyone?
Reply With Quote
  #3  
Old 16 Feb 2018, 09:52
Inna Inna is offline
 
Join Date: Jul 2016
If no one else in that thread has chosen manual title (for example thread title is "how to", but my post which is the 3rd one in that thread titles "how not to", then either you should
1) do it manually
2) run a query in phpmyadmin to change all titles of posts of this specific thread
Reply With Quote
  #4  
Old 16 Feb 2018, 12:36
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Create a plugin hooked at "threaddata_presave" with the code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace "XXX" with the threadid of the thread you want affected.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #5  
Old 18 Feb 2018, 16:44
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
Originally Posted by MarkFL View Post
Create a plugin hooked at "threaddata_presave" with the code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace "XXX" with the threadid of the thread you want affected.
Thanks!

Going to do this now.

--------------- Added 18 Feb 2018 at 16:51 ---------------

Tried it and didn't work. Any idea what I did wrong?
Reply With Quote
  #6  
Old 18 Feb 2018, 16:54
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Are you sure you used the correct thread id?

Before you saved the plugin, did you make it active?
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #7  
Old 18 Feb 2018, 16:58
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
Originally Posted by MarkFL View Post
Are you sure you used the correct thread id?

Before you saved the plugin, did you make it active?
Yes, then I went and changed the title and it didn't update the other posts.
Reply With Quote
  #8  
Old 18 Feb 2018, 17:00
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Odd...it worked for me.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #9  
Old 18 Feb 2018, 17:01
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
Originally Posted by MarkFL View Post
Odd...it worked for me.
It the thread ID just the number?

Is that the only thing to change?
Reply With Quote
  #10  
Old 18 Feb 2018, 17:05
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by I.G.O.T.A. View Post
It the thread ID just the number?

Is that the only thing to change?
Can you post a link to the thread?
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #11  
Old 18 Feb 2018, 17:06
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
The link is below friend.

https://www.igotacummins.com/threads...ustomer-Trucks
Reply With Quote
  #12  
Old 18 Feb 2018, 17:08
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by I.G.O.T.A. View Post
Okay, what you should have is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #13  
Old 18 Feb 2018, 17:10
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
I have that, but if you look at all the titles after that they don't update.
Reply With Quote
  #14  
Old 18 Feb 2018, 17:13
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Well, like I said that query works for me...don't know what issue there is at your site preventing it from running.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #15  
Old 18 Feb 2018, 17:18
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
Originally Posted by MarkFL View Post
Well, like I said that query works for me...don't know what issue there is at your site preventing it from running.
Yes, that is very strange.

Thanks for the help. I will see if I can figure this out as I do have a PHP error.

igota-php-error.png
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove thread title in navbits if you have large thread title installed VietSoil vBulletin 2.x Full Releases 17 30 Oct 2002 03:07


Tags
thread title


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:14.

Layout Options | Width: Wide Color: