vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Change Threads/Posts Owner (https://vborg.vbsupport.ru/showthread.php?t=112705)

D.Ilyin 06-01-2006 01:35 PM

Quote:

Changes from 1.0:- Ability to change also the owner of posts. If you change the owner of the firstpost, the owner of the thread will be also changed
- Added group permission. This works not with Bitfields, because I didn't want to have a file to upload. Instead, you can enter usergroups that should have access to that feature. Due to performance, it is checked only by calling the function, the links are showed for all mods. If you don't enter any group, the forum permission is checked (like it was in 1.0).
- Added possibility to enter also the UserID of a user
- "forumdisplay_changethreadsowner" is still uncached, because its not used quiet often and don't need to be cached.
Clicked install twice!! ;)

D.Ilyin 06-01-2006 01:53 PM

but.....
Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT thread.forumid, firstpostid, postid, parentid, thread.threadid
FROM vb_post
INNER JOIN vb_thread as thread ON (thread.threadid=post.threadid)
WHERE post.postid IN (2);

MySQL Error : Unknown table 'post' in where clause
Error Number : 1109
Date : Thursday, June 1st 2006 @ 05:53:37 PM
Script : http://localhost/vb0/inlinemod.php
Referrer : http://localhost/vb0/inlinemod.php
IP Address : 127.0.0.1
Username : admin
Classname : vb_database
ONLY when try to change owner from inside thread :(.

UPDATED
And as a future suggestion:
decrease amount of posts old owner and adding amout to new owner of the thread.

Kihon Kata 06-01-2006 02:02 PM

updated mine :)

Kihon Kata 06-01-2006 02:03 PM

so, where are the usergroup perms again?

Phalynx 06-01-2006 02:12 PM

Quote:

Originally Posted by D.Ilyin
but.....

ONLY when try to change owner from inside thread :(.

Should be fixed with the new XML named product-changethreadsowner151.xml, please download again.

Quote:

Originally Posted by Kihon Kata
so, where are the usergroup perms again?

In this case, vBulletin Options, "Change threads/posts owner"

D.Ilyin 06-01-2006 03:29 PM

Quote:

Originally Posted by Phalynx
Should be fixed with the new XML named product-changethreadsowner151.xml, please download again.

Thank's all works without errors for now.

PS What about my suggestion?
On big boards rebuilding posts count after changing some authors thread will be to long :(.
Quote:

Originally Posted by Kihon Kata
so, where are the usergroup perms again?

PSS Maybe you mean that: ./admincp/options.php?do=options&dogroup=changethreadsowner

Jeordie015 06-03-2006 02:09 PM

I have a suggestion. So I installed this and tried it out and it was about as painless as could be. But since I was having to go through pages and pages in the forums finding threads that needed to be changed, that's when I noticed it.

Say you're on the 10th page of a forum and that's the page in which you want to change a thread. You do that, and it brings you back to the first page of the forum. Is there a way it could bring you back to the 10th page?

Phalynx 06-03-2006 05:15 PM

There should be no problem to implement this. Currently I'm calling the forum of the first thread. Lets see v1.6

Quote:

On big boards rebuilding posts count after changing some authors thread will be to long
Right, next version will add/remove postings.

mawby 06-16-2006 09:00 AM

Quote:

Originally Posted by mawby
I just installed this and after selecting several threads and typing in a new name I got the following error when pressing the change owner button...

Fatal error: Only variables can be passed by reference in /vbb/inlinemod.php(220) : eval()'d code on line 74

Any clues what the problem might be?

In case it helps, this only happens if I use the option when looking at a forum (forumdisplay.php). If I use it when looking at a thread (showthread.php) then it works fine.

I'm happy with this, at least I can use it now. :)

HappyPike 07-24-2006 04:11 AM

Quote:

Originally Posted by Phalynx
There should be no problem to implement this. Currently I'm calling the forum of the first thread. Lets see v1.6


Right, next version will add/remove postings.

Is the next version coming soon?

Staxed 07-25-2006 10:02 AM

just thought i'd mention this works with 3.6 if anyone was wondering ;)

ahmed-samara 07-27-2006 02:02 PM

Nice hack

parabat 07-31-2006 01:19 PM

Has anyone else seen this. The mod works like a dream generally, but as soon as I try change to a user who's name starts with a number, it reverts to the admin's username.

Eg. Username 11Echo.
If I try to change the post to reflect the name of 11Echo, it reflects the admins username instead.

I have tested this with a few users who have the 1st letter as a digit. The internal search finds the user ok, but when you select to change, it doesn't and changes the post to reflect the admin.

Any ideas, or help on this one??

-Parabat

parabat 08-16-2006 11:37 AM

Quote:

Originally Posted by parabat
Has anyone else seen this. The mod works like a dream generally, but as soon as I try change to a user who's name starts with a number, it reverts to the admin's username.

Eg. Username 11Echo.
If I try to change the post to reflect the name of 11Echo, it reflects the admins username instead.

I have tested this with a few users who have the 1st letter as a digit. The internal search finds the user ok, but when you select to change, it doesn't and changes the post to reflect the admin.

Any ideas, or help on this one??

-Parabat


Anyone, Anyone, Anyone?????

sillystuie 08-26-2006 03:08 PM

been looking for this for a while - many thanks (installed)

SportsZone 08-27-2006 07:57 AM

Quote:

Originally Posted by Irisfire
just thought i'd mention this works with 3.6 if anyone was wondering ;)

It didn't work for me. Did you do anything other than the instructions to get this hack to work?

Phalynx 08-27-2006 11:42 AM

I tried this also on my new 3.6 and it works.

Snake 08-28-2006 11:06 AM

Great seems to work just fine on 3.6. :)

Kihon Kata 09-02-2006 01:50 PM

Didn't work for me in 3.6 (I previously had it installed and working on 3.5.4). So I edited forumdisplay and added:

Code:

<option value="changethreadsowner">$vbphrase[changethreadsowner_link]</option>
Worked

Phalynx 09-04-2006 08:01 AM

Seems that your template was modified and automatic search & attach didn't work.

TigerWare 03-03-2007 03:41 PM

Perfecto!

Installed on 3.6.4

I was looking to run a query directly on the DB, but this makes is so much easier... THANKS!

:up:

obmob 06-26-2007 02:15 PM

Good, will try on 3.6.7 :D

jblackburn 11-07-2007 04:34 PM

Nice hack! Installed and basically working on v3.5.5, but it didn't update the post count automatically. Anything I can do to fix that?

Djamil 11-11-2007 04:28 PM

Quote:

Originally Posted by Phalynx (Post 997533)
There should be no problem to implement this. Currently I'm calling the forum of the first thread. Lets see v1.6


Right, next version will add/remove postings.

Hi there,

did you abandon your plans to develop this hack further ?

Djamil

koxito 02-26-2008 07:22 AM

Man, this is very util!! i used to love this hack..!!! 3.7 it PLZ!!! :P

Lumis Out.

Phalynx 02-26-2008 08:16 AM

I'm using it unmodified on vB3.7 Beta 5 without problems.

hjmaier 03-20-2008 03:45 PM

It works pretty well with vB 3.7.

Nice hack, Thank you.

I know this one is an old hack, but i wonder if you are thinking about working on it for a bit. I would suggest to update the posting counter of the user and get it working together with the great vBExperience AddOn.

Best regards
Hans-Joachim

Phalynx 03-20-2008 03:49 PM

That's on my todo-list, I have to wait for the final vB3.7

BTW, how should this work with vBExperience? vBExperience calculates data real-time. If a post owner changed, the data for the user will be calculated next time he posts something.

Koroku 03-21-2008 01:48 AM

Yep, works fine with vB3.7 RC1

I have a lot of "bots" that I use, and it makes it so much easier to just change post owners.

I've been using this hack for about a year now, and it's by far one of the most useful ones. <3

Koroku 04-28-2008 08:30 AM

I'm not quite sure how to get this one to work with the security tokens - can someone please help?

I don't seen any <form>s...

readjono 04-29-2008 12:49 PM

It's stopped working with 3.6.10 it seems.

TigerWare 05-03-2008 10:54 AM

Security token needs to be added to the "forumdisplay_changethreadsowner" template to make this work with 3.6.10.

Load Style Manager locate the template under "Forum Display Templates"

Under:
HTML Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
Insert:
HTML Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
Save. Refresh the Change Threads Owner form (so it picks up the new template version) and it works fine. I just fixed mine too because I forgot to test it before upgrading to 3.6.10.

If you do not add the security token, it won't work.

Phalynx 05-03-2008 10:17 PM

I will do an update for 3.7 soon.

readjono 05-04-2008 08:47 PM

Would be much appreciated.

Koroku 05-04-2008 10:09 PM

Quote:

Originally Posted by TigerWare (Post 1506699)
Security token needs to be added to the "forumdisplay_changethreadsowner" template to make this work with 3.6.10.

Load Style Manager locate the template under "Forum Display Templates"

Under:
HTML Code:

<input type="hidden" name="s" value="$session[sessionhash]" />
Insert:
HTML Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
Save. Refresh the Change Threads Owner form (so it picks up the new template version) and it works fine. I just fixed mine too because I forgot to test it before upgrading to 3.6.10.

If you do not add the security token, it won't work.

THANK YOU

AScherff 05-05-2008 11:45 AM

Quote:

Originally Posted by Phalynx (Post 1507402)
I will do an update for 3.7 soon.

Das ist sch?n, Danke.

Nice, Thanks

Phalynx 05-05-2008 03:01 PM

A new version for 3.7 has been released here:
https://vborg.vbsupport.ru/showthread.php?t=178208

Changelog from 1.5:
- Post counter of old and new user will be updated
- Added moderation to search result
- Clean up code
- Made compatible with vBulletin 3.7 GOLD
- Minor fixes

AL-5JL 06-23-2009 06:37 PM

thanks

longgsm 09-11-2009 05:51 AM

How Change ThreadID? Help me!

Phalynx 09-14-2009 06:52 AM

Quote:

Originally Posted by longgsm (Post 1882982)
How Change ThreadID? Help me!

Crosspost. Answered here:
https://vborg.vbsupport.ru/showthrea...32#post1884432


All times are GMT. The time now is 01:05 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.01644 seconds
  • Memory Usage 1,828KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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