vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Problem with FireFly's hack (https://vborg.vbsupport.ru/showthread.php?t=51047)

DWZ 03-31-2003 11:39 PM

Problem with FireFly's hack
 
https://vborg.vbsupport.ru/showthrea...threadid=35220

Quick question guys, I have put this up as an april fools joke today and people have began to work it out as when you are emailed with a notification, it doesn't change their name in the email.

Does anyone know how this could be fixed? I'm guessing just putting the same sort of code just before the email notification is sent. But I'm not sure where that is done.

Can anyone help me?

Thanks :)

Alan

Boofo 04-01-2003 12:24 AM

Check out functions.php. ;)

N!ck 04-01-2003 12:28 AM

This doesn't belong in "Help Me Finish"

DWZ 04-01-2003 12:31 AM

Quote:

Today at 12:28 PM N!ck said this in Post #3
This doesn't belong in "Help Me Finish"
I guess it depends on what way you look at it. The hack is 95% done thanks to FireFly, I just want to know how to end it.

And thanks Boofo, I'll take a look :)

DWZ 04-01-2003 12:43 AM

OK, well I've found where the emails go out, just under:
PHP Code:

// ############## Send out email notification ############ 

Now I'm trying to work out just what to put and where. It appears the email subject comes out at:
PHP Code:

  $threadinfo[title]=unhtmlspecialchars($threadinfo['title']); 

How can I get it to find =bbusername= and replace it with the person who is receiving it nickname.

I noticed that the bbuserinfo is already taken near the top so I don't need to play with that I don't think.

I also need it to change it in the body of the email as currently its coming out as:
Quote:

Person X has just replied to a thread you have subscribed to entitled - =bbusername= - in the ABC forum of XYZ.com.
sorry for all these questions :(

Boofo 04-01-2003 12:47 AM

Why don't you just use Mutt's [you] hack to do this? It's easier and I have already done what you want to do with that.

DWZ 04-01-2003 12:49 AM

Quote:

Today at 12:47 PM Boofo said this in Post #6
Why don't you just use Mutt's [you] hack to do this? It's easier and I have already done what you want to do with that.
oh? i hadn't seen that one before...

[high]* DWZ goes looking
[/high]

thanks :)


All times are GMT. The time now is 09: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.00935 seconds
  • Memory Usage 1,726KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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