vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBulletin POP3 / IMAP Email Client for vB3 - Web-based access to POP email accounts! (https://vborg.vbsupport.ru/showthread.php?t=66247)

DjTaz 03-28-2006 04:07 AM

Quote:

Originally Posted by The Prohacker
Still having trouble with no return sender with this hack.

While I'm composing the message, my user name shows up in the "From" box, like the first picture attached.

However, when I send it to my test gmail account, the message I receive is from "Unknown Sender", and the "Reply To" box is empty, like in pictures 2 and 3.

If I change to this...:
Code:

//You can allow or disallow users from changing the FROM email address by switching this to 0 for no or 1 for yes
$allowfromchange = "1";

...the hack works perfectly and my user name shows up in the test email "From" box, and is also in the "Reply To" box.
Which is perfect, except I do not want the other users to have the ability to change the "From" to an admin or mods nick and pass off the email as coming from someoene else.
I also do not want the users to have email being sent from "Unknown Sender" though.

If I switch it back to "0" however, I again get an email from "Unknown Sender" and the "Reply To" box is empty.

I know I can also change the third option to have myself as the only one allowed to change the "From" variable, however again, I don't want the other user's having emails sent from "Unknown Sender's".

Anybody have any ideas?
I really like this hack, but need to configure it properly.


I was having the same issues as you with the UNKNOWN SENDER so i took a look around and may have got lucky.

around line 672(ish- ive hacked mine a lot at this stage )
Code:


elseif ($CMD=="send")
        {
        $head="From: $fr\n";

change to
Code:

elseif ($CMD=="send")
        {
        $loginmail=strtolower($bbuserinfo[username])."@yourdomain.com";
        $head="From: $loginmail\n";


This seemed to fix the issue of the senders name not showing up though im not sure if it had any adverse effect on things as i havent tested it enough yet.
I was busy working on automating each new user getting an e-mail account as soon as they log in and i have that sorted now as well (to a degree anyway)

dreck 03-28-2006 11:12 AM

Quote:

Originally Posted by Erwin
I'm getting some weird errors, but the hack itself works. I may post a beta version at some stage...

nice, looking forward to it!

DjTaz 03-29-2006 09:51 AM

Brillint hack - this is ALMOST perfectly what i wanted.

I have integrated this into my site in such a way that as soon as members sign up to my site they get an e-mail address with thier username and my domain as their email (username@mydomain.com) - this is the only e-mail they can access from my site and i have limited each account to 1 meg.

What i would love is a few things really if anyone has any ideas

1. Can i display if they have new mail on the main pages on the site (say forum home).
2. Can i show a SENT folder for the mails they have sent , like most mailboxes ?
3. Possibility of a contacts page
4. If a message has been viewed , it displays as OLD and if not NEW

I think this would be perfect if i could get them things as well.

dreck 04-15-2006 10:29 PM

did anyone get this to work with 3.5?

DjTaz 04-16-2006 10:00 AM

I eventually ended up uninstalling this script. Not because it was bad or caused any problems , but because i decided to install squirrelmail as a full mail system instead.

I had to hack it a lot to get rid of the frames (ended up just hiding it and adding menus to the right frame), but i now have what i want with the contacts and everything else.

For those who are looking for a version for 3.5 - why not take a look at an existing mailbox system and try to integrate that into your site ?
I have a page now on mine that sends the info i need for the mailbox from the boards which makes it run quite smoothly in all.

Patria 06-21-2006 08:31 PM

Another option represents WMail.

dreck 06-22-2006 01:26 AM

Quote:

Originally Posted by BlackSun
Another option represents WMail.

Yep, I installed wmail few weeks ago, works great! :banana:

yahoooh 09-22-2007 05:06 PM

is there new version for 3.6.8?
this hack is greeat addition for our forum

Fabsboards 05-09-2008 05:18 AM

Does this work with 3.7.0 Gold?

If not....

Google now offers "Gmail for your domains". Free IMAP email

Problem - I hate Gmail's web interface. I want something integrated with vb.

Are there any modules that will give me this capability?

fdv 05-09-2008 11:31 AM

I have installed it, but :

Fatal error: Cannot re-assign $this in /var/www/gex/lrtiki.info/web/forum/email.php on line 120


All times are GMT. The time now is 07:00 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.01535 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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