Member Log In
Site Navigation
Latest Modifications
- [vB 3.8.4] THX - Hack for VB. 3.8.4
By: bluedog - [vB 3.8.4] Cyb - Chatbox V.2.3
By: bluedog - [vB 4.0.x] PHPKD - Advanced Quick...
By: PHPKD - [vB 3.6.x] StopSpam
By: flappi282 - [vB 3.8.x] vBulletin Chat Addon for...
By: 123flashchat
Latest Template Mods
- [vB 4.0.x] Remove My Profile Link...
By: Ak Worm - [vB 3.8.x] Images DownloadBox...
By: cRs!MP - [vB 3.8.x] Adviertise Mod On Forum...
By: MG4 - [vB 3.8.4] Images PassWordBox...
By: cRs!MP - [vB 3.8.4] Footer Follow Ups
By: Ak Worm
Latest Styles
- [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
By: Belon - [vB 4.0.x] [4.0.3] vbdesigns.de...
By: Belon - [vB 3.8.4] CompletevB - Skylight
By: DreadKnight - [vB 3.8.3] [vB 3.8.4] Barcelona...
By: hoiquantinhoc.com - [vB 3.8.3] Natures Walk by vBSkin...
By: Chri5
Latest Graphics
- [vB ] [anim.]Team Ranks
By: cRs!MP - [vB ] Abstract Circles (3...
By: cRs!MP - [vB ] PlayStation Rank Images
By: cRs!MP - [vB 3.6.12] Heavy Stroked Button...
By: Shelley - [vB ] Minature Ranks.
By: Shelley
vBulletin Modifications »
Support Center »
vBulletin Support »
Modification Coding »
Need a little PHP help please
![]() |
| | #11 |
| |
Status: Offline Thank you |
|
| | #12 |
| |
Status: Offline Ok, a new interesting little problem. I added the option to choose inside/outside U.S. location and works great except for in the thread and email. This is the code I'm using: Code: // Build Emails
$subject = "Moderator Application";
$message = "Hello,
A new moderator application has just been submitted!
Position applying for: " . $vbulletin->GPC['position_applying'] . ".
Username: " . $vbulletin->GPC['username'] . ".
Additional Usernames: " . $vbulletin->GPC['additional_usernames'] . ".
First Name: " . $vbulletin->GPC['first_name'] . ".
Last Name: " . $vbulletin->GPC['last_name'] . ".
Birthday: " . $vbulletin->GPC['birth_month'] . "/" . $vbulletin->GPC['birth_day'] . "/" . $vbulletin->GPC['birth_year'] . ".
// Check to see if inside U.S.
if ($vbulletin->options['usml_modapp_instates'] == 1)
{
Location: " . $vbulletin->GPC['city'] . ", " . $vbulletin->GPC['state'] . ".
}
// Check to see if outside U.S.
if ($vbulletin->options['usml_modapp_instates'] == 0)
{
Location: " . $vbulletin->GPC['region'] . ", " . $vbulletin->GPC['country'] . ".
}
Why do you want to help this forum:
" . $vbulletin->GPC['why_
PHP Code: Last edited by Redline; 06-26-2009 at 04:41 AM. |
|
| | #13 | |||||||||
Location: Anaheim Age: 22 ![]() |
Status: Offline Can you paste the entire code. Support will only be offered through forums Michael Biddle / vBHackers.comvBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now vBSEO Google Sitemap Generator - Version 2.5 Released Crawlability Network: vBulletin SEO | vBulletin Hackers | |||||||||
|
| | #14 |
| |
Status: Offline PHP Code: |
|
| | #15 | |||||||||
Location: Israel Age: 29 ![]() |
Status: Offline You cannot place the IF condition inside the text block of the assignment. do the if condition prior to the block and then append second var to it, like this: PHP Code: Regards, Idan. * Support will only be given via forums ! * If this post solved/aided your problem, please click "mark as aid" / "mark as solution" as explained in here Last edited by Idan; 06-26-2009 at 08:32 AM. | |||||||||
|
| | #16 |
| |
Status: Offline Once again Idan, you are awesome! Thank you so very much! |
|
| | #17 | |||||||||
Location: Anaheim Age: 22 ![]() |
Status: Offline Beat me too it! Support will only be offered through forums Michael Biddle / vBHackers.comvBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now vBSEO Google Sitemap Generator - Version 2.5 Released Crawlability Network: vBulletin SEO | vBulletin Hackers | |||||||||
|
| | #18 | |||||||||
Location: Israel Age: 29 ![]() |
Status: Offline sorry about that :( saw no reply for 1.5 hours, thought u were alseep, figured wont let the dude wait few hours for reply... Regards, Idan. * Support will only be given via forums ! * If this post solved/aided your problem, please click "mark as aid" / "mark as solution" as explained in here | |||||||||
|
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Broken PHP with SUSE Update | Ken Iovino | Announcements | 2 | 06-17-2006 02:14 AM |
| PHP Vulnerabilities in <= 4.3.9 and <= 5.0.2 | Junior | Announcements | 0 | 05-11-2005 08:19 AM |
All times are GMT. The time now is 05:49 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

























