Previous Thread
Next Thread
Print Thread
Rate Thread
#55163 01/08/2003 11:32 AM
Joined: Jun 2000
Posts: 93
Member
Member
Offline
Joined: Jun 2000
Posts: 93
I mentioned this before, but it always gets pushed back to the next release. Well, here we are with 6.4.0, and since I cannot program in PERL, I'm asking for your assistance.

I would like to be able to create a database of sponsors that one is randomly pulled each time an email is sent out to anyone aside from the staff. Like so:

Dear Member,

Per your request all account names which use the email: [email protected] have been emailed. Blah blah..

Please visit our Sponsor:
Infopop! - Maker of UBB.Classic:
https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?sponsor1

Do you follow me? Then you'd be able to choose which sponsors are in the "pool" from the CP.

It's a very non-intrusive method to advertise. I'm no money-grubbing fool, but I do pay out of my pocket to keep my site running.


ni·hil·ism (n-lzm, n-)
n.

Philosophy.
An extreme form of skepticism that denies all existence.
A doctrine holding that all values are baseless and that nothing can be known or communicated.
Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Ya know, if only most email clients had Javascript turned on... then you can use a service like textads.biz and put ads at the bottom of each mail's HTML via the footer. That would be a very clean method of doing this....

But most mail clients forbid Javascript.

So, it would have to be done server side.

This should be pretty easy nowadays... you're using HTML email, right?


UBB.classic: Love it or hate it, it was mine.
#55165 01/10/2003 10:09 AM
Joined: Jun 2000
Posts: 93
Member
Member
Offline
Joined: Jun 2000
Posts: 93
We are sending HTML emails. I would really like to see it integrated into the UBB control panel though.

Do you follow me with the whole pool of sponsors dealio? I am aware of the textads.biz solution too. However, how would one integrate this to the current system? I tried to add things to the email wordlets, but nothing ever works like I think it should.


ni·hil·ism (n-lzm, n-)
n.

Philosophy.
An extreme form of skepticism that denies all existence.
A doctrine holding that all values are baseless and that nothing can be known or communicated.
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
I'm not sure about putting it in the control panel... you might not need to - it could be very simple.

You've seen the %%VARIABLE%% bits in the email wordlets, right?

Here's what I'm thinking.

You assemble a custom HTML header and footer, assign it to the email template...

The header or footer will have some %%VARIABLE%% stuff in them. Those will get translated right before each mail is sent.

The translation bits will open up a file, pick an entry to add, then add it... or perhaps open a directory and pick a text file to include in the mail, so it's random.

Pretty simple and straightforward. Thoughts?


UBB.classic: Love it or hate it, it was mine.
Joined: Jun 2000
Posts: 93
Member
Member
Offline
Joined: Jun 2000
Posts: 93
It sound very straight-forward, but the issue remains of how will I define those variables, and where? Also, how do I assign custom anything to an email template?

Are you discussing the wordlets? I'm a tad confused with this one, m8.


ni·hil·ism (n-lzm, n-)
n.

Philosophy.
An extreme form of skepticism that denies all existence.
A doctrine holding that all values are baseless and that nothing can be known or communicated.
Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Actually, I was gonna do the coding myself on this one. wink

Drop me a mail at capps (at) solareclipse.net - I'll hack it into your board. You get to be the guinea pig. wink


UBB.classic: Love it or hate it, it was mine.
#55169 01/11/2003 10:57 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Charles, you're renewing my faith in the UBB community.

#55170 01/11/2003 11:13 PM
Joined: Jun 2000
Posts: 93
Member
Member
Offline
Joined: Jun 2000
Posts: 93
I feel badly, because I'm not able to contribute programming experience. I'm a business / theory person. So, when I ask questions, it's because I know it's both beneficial to my community as well as potentially lucrative.

So, I hope the coders around here don't think I'm a slouch smile I am eternally grateful for all the support I get with the UBB Dev community. .. and I've been coming here for a while wink


ni·hil·ism (n-lzm, n-)
n.

Philosophy.
An extreme form of skepticism that denies all existence.
A doctrine holding that all values are baseless and that nothing can be known or communicated.
#55171 01/11/2003 11:39 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I would love to be able to help more but I'm a Systems guy, I run enterprise networks but Perl kicks my butt.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)