PDA

View Full Version : Moderators Functions - WoG - Change All Post Title In Thread


WoGuziczek
01-07-2010, 10:00 PM
WoG - Change All Post Title In Thread
[WoG - CAPTIT]



What is it? / What does it do?
It is a small modification that allows set the thread title as the title of all posts in thread.


Features

Turn off the hack global
Add posttitle prefix



Technical

Phrases: 6
Plugins: 2
SQL Queries: 1
Templates : 0
Images to upload: 0
Files to upload: 0
Files to edit: 0
Templates to edit: 0


Installation
1-) Import product


Upgrade
1-) Import latest product and select Allow Overwrite


Versions
v1.1.0 - January 09 2010
- Add postitle prefix feature.

v1.0.0 - January 08 2010
- First release for vB4

ENJOY ;)

Do you like this mod? Please click Mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=232556) and Nominate for MOTM (https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=232556&type=1)
or say "Thanks" :)

Not install = Not support :]

BBR-APBT
01-08-2010, 04:54 PM
In my opinion it would be better if it said RE: posttitle.

I tagged this cause I can alter it to do that my self.

djbaxter
01-09-2010, 01:28 AM
:confused:

Why do you need an add-on to do this? You can do this via Edit thread.

Hasanudin
01-09-2010, 07:49 AM
In my opinion it would be better if it said RE: posttitle.

I tagged this cause I can alter it to do that my self.

yes, i agree

WoGuziczek
01-09-2010, 04:14 PM
In my opinion it would be better if it said RE: posttitle.

I tagged this cause I can alter it to do that my self.

yes, i agree

Done :)
Version 1.1.0 is now available ;)

iacas
01-12-2010, 10:10 PM
Does anyone else find that when they reply after using this mod that the " " shows up in the title line (after a space)?

For example, if I rename a thread to "Title of Thread" and the subsequent ones are renamed "Re: Title of Thread", if click reply and Go Advanced I see this title pre-filled in for me:

"Re:  Title of Thread".

Obviously that shouldn't be there.

COL NIL SATIS
01-12-2010, 10:17 PM
cheers..good little mod!!! will install tomorrow

garretbyrne
01-16-2010, 03:33 AM
Hi I've installed this mod but it doesn't work.. I've tried it with   and also posttitle and none of them show up when I reply to thread.

princesspepper
06-21-2011, 06:25 AM
I get a database error... as follows :

Database error in vBulletin 4.1.3:

Invalid SQL:

UPDATE `vb_post` AS `post`
SET `post`.`title` = 'Re: This's the thread title'
WHERE `post`.`threadid` = '2223'
AND `post`.`postid` != '21010';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's the thread title'
WHERE `post`.`threadid` = '2223'
AND `post`.`postid`' at line 2
Error Number : 1064
Request Date : Tuesday, June 21st 2011 @ 07:21:38 AM
Error Date : Tuesday, June 21st 2011 @ 07:21:38 AM
Script : http://www.myforum.com/postings.php?do=updatethread&t=2223
Referrer : http://www.myforum.com/postings.php
IP Address : 109.123.98.216
Username : admin
Classname : vB_Database
MySQL Version : 5.1.56-log

Also, It's not adding to new threads, and it would be good if you could run something that would do it to all existing threads.

mytreehouse
04-07-2014, 01:35 AM
It works well in VB 4.2.1 and it changes nearly every post title in a thread the same as the opening post title. The database error is due to the " or ' in the thread title, and the post titles don't update when this occur. You need to avoid those signs in the thread title.
Maybe there is a workaround for it. I'm not a coder so I don't know.

kevius
03-31-2016, 12:34 PM
Hello

I have the same problem as princesspepper. I'm french and we have a lot of character like :

this one : ' or "

This make an error in SQL !

So is it possible to update this mod ???

Thank you very much

kevius
03-29-2017, 01:23 PM
Thank you very much to DAVE !

Bug is fix now : https://vborg.vbsupport.ru/showpost.php?p=2584464&postcount=2

I'M HAPPY !!!!!!