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)

Gary King 06-03-2003 10:00 PM

Link in Postbit to Remove Images in Signatures
 
Link in Postbit to Remove Images in Signatures

Requested Here

[high]Don't forget to click here when you have installed this, to receive new updates for this hack![/high]

What does this hack do?

This hack allows you to remove all the images from a user's signature with by clicking on a link that is located in the postbit (next to Report this post to a moderator).

How do I install this?

Simply read the instructions in the attached file.

Bugs, Suggestions, Comments

There shouldn't be any bugs here, but let me know if you find one.

Kuipo 06-04-2003 01:58 AM

umm, im using 2.2.8

where do i put the lines? the member.php doesnt have the line:

PHP Code:

  eval("standardredirect(\"".gettemplate("redirect_sentemail")."\",\"$HTTP_POST_VARS[url]\");");


=(

Gary King 06-04-2003 02:21 AM

Place the lines you have to add to member.php at the very end, but before the final
PHP Code:

?> 


Lethal 06-04-2003 02:56 AM

cool, i'll have to try this.

d3f 06-04-2003 04:03 AM

*Clicks Install*

Kuipo 06-04-2003 12:25 PM

i tried adding it after that part but it didnt seem to work, i'll try it all over again and see if i get the same results.

would it work if they had 2 images in one sig?

Kriek 06-04-2003 02:14 PM

Personally I prefer the modified version of Sig Editor by Scott MacVicar ;)

Quote:

11-03-01 at 05:17 PM Scott MacVicar said this in Post #1
A nice link in the post which allows moderators, super moderators and admins to edit the signature of other users. There is also protection to stop the user changing the signature of other admins and moderators. A nice tick box is also present to allow you to suspend the signature without having to type in the message.

Dean C 06-04-2003 02:39 PM

Now this is a good idea ;)!

- miSt

Gary King 06-04-2003 07:02 PM

Quote:

Today at 11:14 AM Kriek said this in Post #7
Personally I prefer the modified version of Sig Editor by Scott MacVicar ;)
They do different things, they are not comparable. Mine is a quick link to remove images from a user's signature, and Scott's is a more complex one, and you have to selectively remove the images then.

Gary King 06-04-2003 07:03 PM

Quote:

Today at 09:25 AM Kuipo said this in Post #6
i tried adding it after that part but it didnt seem to work, i'll try it all over again and see if i get the same results.

would it work if they had 2 images in one sig?

Yep, it would remove the two.

Jon Levin 06-09-2003 07:00 AM

Once you remove the image, can you add the image if you want to see it again =/

I set it up, works great, easy to install. I like it, I'll install it

Gary King 06-09-2003 08:36 PM

Quote:

Today at 04:00 AM Jon Levin said this in Post #11
Once you remove the image, can you add the image if you want to see it again =/

I set it up, works great, easy to install. I like it, I'll install it

Sorry, but this hack does not support the recovery of removed images.
But then again, I'm sure that if the signature had an offending image, either too big, or offensive, then you wouldn't want to recover it :)

Unless you are afraid of clicking on the link by mistake?

Jon Levin 06-10-2003 12:13 AM

yea, that's it. I was testing it out, and accidently removed my own sig :(

BladeZz 07-26-2003 12:34 PM

Sorry im a noob at coding,i installed it,but the only thing that happens is that if i delete someone else his sig my own sig gets removed :)
maybe any tips what can cause this?
thank you :)

Gary King 07-26-2003 01:08 PM

What is the URL shown for the link to remove a user's signature?
Is the userid the same as the user's userid, or is it your userid?

BladeZz 07-26-2003 01:25 PM

the userid shows up,not mine.

BladeZz 08-05-2003 05:03 PM

anyone else maybe?

Gary King 08-05-2003 06:00 PM

What's the URL for the remove signature link?

BladeZz 08-06-2003 04:52 AM

http://*************/forum/member.ph...mages&userid=2
it deletes only our own sigs,i have userid 1,i tested it on my co-admin.(above url)but it removes my own,vice versa the same if he tries to delete a sig his sig gets deleted instead of the user.
Hopefully this can be fixed,i really want this hack :)

Gary King 08-06-2003 01:21 PM

It only does this on your board, you must have installed it incorrectly.

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 ?

BladeZz 08-06-2003 10:45 PM

Awell anyway thank you very much for your time ;)

Gary King 08-06-2003 11:30 PM

Quote:

Today at 07:45 PM msimplay said this in Post #30
thank u that works fine erm was wondering how comes the redirect sends u to the forum index instead of back to the post ?
It shouldn't be doing that, it should send you back to the post.
Are you 100% sure you installed correctly?

msimplay 08-06-2003 11:36 PM

lol it cant bethat hard pasting only one bit of code now
can it
will check it again tho :P


All times are GMT. The time now is 04:48 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.01258 seconds
  • Memory Usage 1,820KB
  • 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
  • (6)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete