Goautodial - custom logo per campaign

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Goautodial - custom logo per campaign

Postby myaddressis » Mon Sep 19, 2011 12:42 am

Hi all,

Here's a small contribution to those who are interested. If you want a customised logo per campaign (replacing the GoAutodial logo at the bottom left of the screen). Modify the vicidial.php file in the goautodial-agent folder of your server at about line 12928 to read:

<td rowspan="5" align="center" width="290"><img src="./images/vicidial_campaign_logo_<?=$VD_campaign?>.gif" /></td>

instead of:
<td rowspan="5" align="center" width="290"><img src="./images/vicidial_logo.gif" /></td>

This implies that you must create a .gif of your desired campaign and place it in the goautodial/images folder as well. The .gif must be named as vicidial_campaign_logo_THENAMEOFYOURCAMPAIGNINCAPS.gif - remember that nix is case sensitive. It's a 250x78 logo so you're going to want to size your picture the same way. If your campaign ID is therefore GENIUS in the vicidial admin web pages name your logo as vicidial_campaign_logo_GENIUS.gif . Note that once you do this, ALL your campaigns will need a logo otherwise you'll see image not found/X/black boxes on your agent campaign screen. Also, if you break something I don't take responsibility - always make a backup before attempting changes.
Last edited by myaddressis on Wed Sep 21, 2011 9:06 am, edited 1 time in total.
myaddressis
 
Posts: 31
Joined: Thu Sep 15, 2011 6:33 am

Postby williamconley » Mon Sep 19, 2011 5:23 pm

Not bad for "post two".

but you should always post the version and build of vicidial (will make a difference!) and the installation media you used.

and the FULL path to the file to be edited.

You'll end up being very popular with stuff like that.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 106 guests