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)
-   -   Link in Postbit to Remove Images in Signatures (https://vborg.vbsupport.ru/showthread.php?t=53810)

BladeZz 08-06-2003 02:56 PM

I did exactly what is written in the instructions.Doublechecked it,reinstalled,still the same.
Anyway thank you for trying to help.

Gary King 08-06-2003 04:16 PM

Could you copy and paste the postbit part that you need to modify for this hack, including 3-5 lines above and below it?

BladeZz 08-06-2003 09:04 PM

Sure,here it is :)

<td style="border: 1px solid #7E2B42;
<div align="center"> <smallfont><b>$post[username]</b> is now</smallfont> $onlinestatus
</td>
</tr>

<tr>

<td align="center" valign="top" height="21">
<a href="report.php?s=$session[sessionhash]&postid=$post[postid]">
<img src="{imagesfolder}/p_report.gif" border="0"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]">
<img src="{imagesfolder}/p_quote.gif" border="0"></a>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]">
<img src="{imagesfolder}/p_edit.gif" border="0"></a>
</td>

</tr>
</table>

Gary King 08-06-2003 09:54 PM

That's the problem - I don't see the hack's modifications in those lines.

msimplay 08-06-2003 10:07 PM

hey this hack works great but is there anyway i could use it not to remove signature but replace it with the Below

==============================================

SIGNATURE SUSPENDED
PLEASE READ RULES


==============================================

BladeZz 08-06-2003 10:16 PM

i removed the hack modification,i put it on several spots and it didnt work for me.I got some other hacks installed on our board,maybe that causes it.

<td align="center" valign="top" height="21">
<a href="member.php?s=$session[sessionhash]&action=sigimages&userid=$post[userid]">Remove Signature Images</a>
<a href="report.php?s=$session[sessionhash]&postid=$post[postid]">
<img src="https://vborg.vbsupport.ru/images/p_report.gif" border="0"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]">
<img src="https://vborg.vbsupport.ru/images/p_quote.gif" border="0"></a>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]">
<img src="https://vborg.vbsupport.ru/images/p_edit.gif" border="0"></a>
</td>
this is where i did put the modification into

Gary King 08-06-2003 10:20 PM

Quote:

Today at 07:16 PM BladeZz said this in Post #26
i removed the hack modification,i put it on several spots and it didnt work for me.I got some other hacks installed on our board,maybe that causes it.

<td align="center" valign="top" height="21">
<a href="member.php?s=$session[sessionhash]&action=sigimages&userid=$post[userid]">Remove Signature Images</a>
<a href="report.php?s=$session[sessionhash]&postid=$post[postid]">
<img src="https://vborg.vbsupport.ru/images/p_report.gif" border="0"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]">
<img src="https://vborg.vbsupport.ru/images/p_quote.gif" border="0"></a>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]">
<img src="https://vborg.vbsupport.ru/images/p_edit.gif" border="0"></a>
</td>
this is where i did put the modification into

That should work. If not, then I can't come to any other conclusion.

Gary King 08-06-2003 10:23 PM

Quote:

Today at 07:07 PM msimplay said this in Post #25
hey this hack works great but is there anyway i could use it not to remove signature but replace it with the Below

==============================================

SIGNATURE SUSPENDED
PLEASE READ RULES


==============================================

In the hack, find
PHP Code:

        $DB_site->query("UPDATE user SET signature='".$removeimg."' WHERE userid='".$bbuserinfo['userid']."'"); 

Replace with
PHP Code:

        $DB_site->query("UPDATE user SET signature='[size=5][b][color=red]SIGNATURE SUSPENDED
PLEASE READ [url=http://www.wambam.net/Vbulletin/showthread.php?s=&threadid=772] RULES[/url][/color][/b][/size][b][color=red][/color][/b][color=red][/color]
' WHERE userid='"
.$bbuserinfo['userid']."'"); 

:)

Gary King 08-06-2003 10:23 PM

Quote:

Today at 07:07 PM msimplay said this in Post #25
hey this hack works great but is there anyway i could use it not to remove signature but replace it with the Below

==============================================

SIGNATURE SUSPENDED
PLEASE READ RULES


==============================================

In the hack, find
PHP Code:

        $DB_site->query("UPDATE user SET signature='".$removeimg."' WHERE userid='".$bbuserinfo['userid']."'"); 

Replace with
PHP Code:

        [disable]$DB_site->query("UPDATE user SET signature='[size=5][b][color=red]SIGNATURE SUSPENDED
PLEASE READ [url=http://www.wambam.net/Vbulletin/showthread.php?s=&threadid=772] RULES[/url][/color][/b][/size][b][color=red][/color][/b][color=red][/color]
' WHERE userid='"
.$bbuserinfo['userid']."'");[/disable

:)

msimplay 08-06-2003 10:45 PM

thank u that works fine erm was wondering how comes the redirect sends u to the forum index instead of back to the post ?


All times are GMT. The time now is 11:24 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.01194 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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