vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Change user's posts to specified text (https://vborg.vbsupport.ru/showthread.php?t=57178)

Gary King 09-17-2003 10:00 PM

Change user's posts to specified text
 
<font size="3">What does this hack do?</font>

It enables you to replace a user's posts with whatever text you specified. Pretty much like mass-editing all of a user's posts.

psico 09-18-2003 02:07 PM

Please can u explain more about it?

Screenshots?

assassingod 09-18-2003 02:26 PM

Quote:

Originally Posted by psico
Please can u explain more about it?

Screenshots?

Basically, if you banned a user and want all of the text in their posts replaced to say something like "All of this users post contents have been removed" you can use this hack

Xenon 09-18-2003 03:08 PM

So basically it's just one update query which is run?
Hmm, or better said why?. If you change all posts of a user totally, you can just remove them at all, which i'D say would look even better ;)

But hey, everyone has his own ideas :)

Gary King 09-18-2003 07:03 PM

Quote:

Originally Posted by Xenon
So basically it's just one update query which is run?
Hmm, or better said why?. If you change all posts of a user totally, you can just remove them at all, which i'D say would look even better ;)

But hey, everyone has his own ideas :)

Someone requested it :)

Gary King 09-18-2003 07:04 PM

Quote:

Originally Posted by assassingod
Basically, if you banned a user and want all of the text in their posts replaced to say something like "All of this users post contents have been removed" you can use this hack

Thanks for explaining a little more - it was late when I did this, and wanted to get some sleep ASAP :rolleyes:

MaDCaT75 09-19-2003 05:35 AM

I requested this hack. Yes I know I can remove all of a user's posts and then update the counters yadda yadda, I like doing this better.... its more fun :p

MaDCaT75 09-19-2003 05:39 AM

Dang.... I get an error when trying to replace text:

PHP Code:

Database error in vBulletin Control Panel 2.3.0:


Invalid SQLUPDATE post SET pagetext 'SilverWolf is God' WHERE userid 
mysql errorYou have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number
1064

Date
Friday 19th of September 2003 01:41:04 AM
Script
: [url]http://www.sims2forums.com/admin/textreplace.php[/url]
Referer: [url]http://www.sims2forums.com/admin/textreplace.php?action=replace&[/url] 


MaDCaT75 09-19-2003 05:48 AM

But heres a screenshot I took of the part where you change text

Gary King 09-19-2003 11:26 AM

Quote:

Originally Posted by MaDCaT75
But heres a screenshot I took of the part where you change text

I don't think you had a username.


All times are GMT. The time now is 10:04 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.01567 seconds
  • Memory Usage 1,737KB
  • 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_php_printable
  • (4)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
  • (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