• Home
  • Help
  • Search
  • Login
  • Register
Rolution Army
Rolution Army > Rolution Discussion > Promotional Resources > PHP for shared splash usage
Username  
Password

Next 5 members in the Main Rotator

GinaHand
marq7

Search


Advanced search

Recent

  • Advertising on steroids! Written by workingdesktop [November 02, 2012, 04:15:22 AM]
  • Hi & hello Everybody. Written by Steven [April 10, 2012, 06:21:27 AM]
  • About Personal Rotator an... Written by marq7 [April 02, 2012, 05:02:43 PM]
  • Rolution Army Rotator Cha... Written by marq7 [April 02, 2012, 10:29:47 AM]
  • Being Active is your Succ... Written by Steven [April 02, 2012, 09:00:13 AM]
  • Hello everyone. Newbie he... Written by Vana Bear [April 02, 2012, 08:50:08 AM]
  • Paid Rolution Members Pos... Written by Steven [April 02, 2012, 08:46:08 AM]
  • Two post minimum to add s... Written by marq7 [April 02, 2012, 06:40:26 AM]
  • RA Hosted Banners Written by apex777 [January 28, 2012, 01:34:22 PM]
  • How do you promote Roluti... Written by workingdesktop [January 17, 2012, 10:51:11 AM]

User

Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2013, 03:49:11 PM

Login with username, password and session length

Stats

Members
  • Total Members: 363
  • Latest: escadlell
Stats
  • Total Posts: 937
  • Total Topics: 187
  • Online Today: 6
  • Online Ever: 123
  • (August 03, 2010, 11:33:23 AM)
Users Online
Users: 0
Guests: 2
Total: 2

Last 5 members added to the rotator

marq7
GinaHand
Cashcaptains
jettero
insidmal
Rolution Army > Rolution Discussion > Promotional Resources > PHP for shared splash usage
Pages: [1]
« previous next »
  Print  
Author Topic: PHP for shared splash usage  (Read 406 times)
0 Members and 1 Guest are viewing this topic.
Steven
Rolution Army Team
*****
Posts: 304
Referrals: 265



steven.berkholz theincometeam
View Profile WWW
PHP for shared splash usage
« on: June 24, 2010, 06:13:35 AM »

I have to apologize for not getting official hosted splash pages up yet.

In the mean time, if you want to make community splash pages with proper Rolution Army URLs, you can use this code on your page. (must be filename.php instead of filename.htm)

At the top of the file, you can use:

Code:
?<?php
$id 
= 1;
if(isset(
$_REQUEST['referredby'])){ 
$id = $_REQUEST['referredby'];}     
if(isset(
$_REQUEST['r'])){ 
$id = $_REQUEST['r'];}  
?>
referredby and/or r (shorter) are the variables the server will look for in the URL.
http://splash1.mydomain.com/?r=NNN (your ID number)

Then, anywhere you have a RA URL, you can use:

Code:
<a href="http://rolutionarmy.com/backoffice/index.php?referredby=<?php echo $id;?>"></a>
forum page

or
Code:
<a href="http://rolutionarmy.com/?referredby=<?php echo $id;?>"></a>
front page

The
Code:
<?php
and
Code:
?>
tells your server that the code here is PHP, not HTML

The
Code:
echo $id;
tells the server to print the variable that it read at the top of the page into the HTML


By using the above code, any member can use your splash page while keeping their own RA referral URL.

Logged
Anshuman
Newbie
*
Posts: 38
Referrals: 16


View Profile WWW
Re: PHP for shared splash usage
« Reply #1 on: June 24, 2010, 07:52:46 AM »

Great job steven, and here I was wondering how to do it.  Cheesy

Pages updated !!! So now everyone can use it.
Logged
teamforce
Guest
Re: PHP for shared splash usage
« Reply #2 on: June 24, 2010, 11:05:44 AM »

Interesting. As for my new splash, I made it at, and it's hosted by AdKreator, and I did not see any access to the source code. Any suggestions?

Thanks,

David
Logged
Anshuman
Newbie
*
Posts: 38
Referrals: 16


View Profile WWW
Re: PHP for shared splash usage
« Reply #3 on: June 24, 2010, 01:09:48 PM »

David you can download the splash from adkreator and host it at your domain. Then you can make changes to the file.

Anshuman
Logged
Pages: [1]
  Print  
« previous next »
 
Jump to:  

Top 10 traffic generators

User NameHits
Chitopi104284
Steven72009
Vana Bear69347
Jim Mitchel58810
garyc39766
apex77722153
titel14254
akyossa13714
workingdesktop12972
Brian B.12204

Top 10 Member Referrers

User NameReferrals
Vana Bear
33
Cashcaptains
27
moneyonline
25
Anshuman
16
rake81
15
Brian B.
11
Jim Mitchel
5
garyc
5
insidmal
4
fi3000
3
TinyPortal 1.0 beta 5-1
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Rolution Army 2010
Loading...