The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Gazette

Geek Gazette GAZ is a community newsletter management system.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2008, 02:13 PM
m_k's Avatar
m_k m_k is offline
Junior Member
 
Join Date: May 2007
Posts: 4
Geek Article and Review System License Holder 
Default Where to use EZ Bounced Email code in GAZ

Quote:
Originally Posted by Morgan View Post
on vBorg there are a couple of modifications that are meant to handle bounced emails
If you look at the following post in the EZ Bounced Email thread at VBorg there is a snippet of code to add to other programs (in this case it was for the Inactive User Reminder hack)... could you recommend where to add this code to GAZ? It worked great for me on Inactive Reminders.

http://www.vbulletin.org/forum/showp...&postcount=487


here's the code:
PHP Code:
add EZBounce headers
            $bounceurl        
$vbulletin->options['ezb_admincpurl'] . "/ezbounce.php?u=" $userid;
            
$bouncestring    "<a href=\"$bounceurl\" target=\"_blank\">$bounceurl</a>";
            
$headers .= 'X-EZbouncer: ' $bouncestring $delimiter

Last edited by m_k; 06-05-2008 at 02:17 PM.. Reason: added php code from vBorg post
Reply With Quote
  #2  
Old 06-05-2008, 04:58 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Untested but you'd need to edit the gaz_class_process.php file, adding $user['userid'] to the passed values in the two $this->mail(...) function calls and then in the mail function in the gaz_class_process.php file, take $userid into the function and use the following after $headers is initially set:
Code:
$bounceurl = $this->vb->options['ezb_admincpurl'] . "/ezbounce.php?u=" . $userid;
$bouncestring = "<a href=\"$bounceurl\" target=\"_blank\">$bounceurl</a>";
$headers .= 'X-EZbouncer: ' . $bouncestring . $delimiter;
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 06-05-2008, 08:24 PM
m_k's Avatar
m_k m_k is offline
Junior Member
 
Join Date: May 2007
Posts: 4
Geek Article and Review System License Holder 
Default

Thanks for the explanation, though it is a bit over my head. I am great at installing hacks when it is just a question of replacing one piece of code with something else, or even better uploading an .xml file :-)

I don't want to impose on you too much, as this is obviously not part of the product you are selling/supporting here.

If there is anyone out there who wants to test this, I am more than happy to try out code on my site and report results - all I ask is simple instructions for modifying GAZ files (open xxx file, find code xxxx, and replace it with code xxxx).

I don't have a copy of GAZ just yet, but will buy it in a heartbeat if there is a chance of getting this integration working.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email sent but not really sent? daisukem Geek Gazette 1 08-01-2010 01:27 AM
Where can I see this in an email? Queeva Geek Gazette 3 09-16-2009 09:43 PM
Managing bounced users Hornstar6969 Geek Gazette 2 06-29-2009 06:43 AM
Bounced Email Handling minstrel Geek Gazette 5 08-31-2008 10:21 PM
Got the email. Hornstar6969 Geek Gazette 1 05-15-2008 01:05 AM


All times are GMT. The time now is 03:15 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.