Pages: [1]   Go Down
  Print  
Author Topic: How to add an extra banner?  (Read 94 times)
clickents
Newbie
*
Offline Offline

Posts: 5


View Profile
« on: February 20, 2012, 09:18:59 AM »

Hello,

Normally in SDR3 ,we have 3 links for banners and can add 3 of them through cpanel.
What if i want to have 4 banners?
Can any body tell me how to add the 4th one?

Thanks
Logged
Upgrade to an SDR 3
ayman20068
Sr. Member
****
Offline Offline

Posts: 265


Offline Thursdays , Fridays


View Profile
« Reply #1 on: February 20, 2012, 03:34:31 PM »

upload your banner image to the directory called banners in your cpanel
let's say the file name is newbanner extension is gif . so banner name will be newbanner.gif
and link will be :
"http://www.sitename/banners/newbanner.gif"

now open the directory called members and find the file called banners.php inside it
find his code :

$bannerlist=array(
   "http://www.$settings[domain_name]/banners/banner1.gif",
   "http://www.$settings[domain_name]/banners/banner2.gif",
   "http://www.$settings[domain_name]/banners/banner3.gif"
);

add your banner link in following format :
"http://www.$settings[domain_name]/banners/newbanner.gif"

if you placed the banner as last banner , make sure you add , at the end of the banner before it
the missing of a , would show error in the banners page , so check it carefully Wink

good luck
Logged

Get a SDR 3 NOW at http://ptcfactory.info

The best and most up to date Aurora script in the market!!
Pages: [1]   Go Up
  Print  
 
Jump to: