- Posts: 6
- Thank you received: 0
Toolbar & Smileys dont display
17 years 10 months ago #322
by rasc00
Replied by rasc00 on topic Toolbar & Smileys dont display
Hi Pete,
For my cgi space, the files are located in the directory ccgi.hebershouse.plus.com/cgi-bin/GuestB
For my webspace, the address is www.johntrueman.com/GuestB (files upload to /htdocs directory using ftp.)
Using PWD in PuTTY, the address from my cgi-space is
/files/home2/hebershouse
For my cgi space, the files are located in the directory ccgi.hebershouse.plus.com/cgi-bin/GuestB
For my webspace, the address is www.johntrueman.com/GuestB (files upload to /htdocs directory using ftp.)
Using PWD in PuTTY, the address from my cgi-space is
/files/home2/hebershouse
Please Log in or Create an account to join the conversation.
17 years 10 months ago #323
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic Toolbar & Smileys dont display
Open the file "functions.php". Find the following line:
Replace it with the following:
The above assumes that you have the images folder inside of the "GuestB" folder of your web folder.
Code:
$yourmessage = str_replace($sm1[$i], "<img src=\"images/icon_$sm2[$i].gif\" ALT=\"$sm3[$i]\">", $yourmessage);
Replace it with the following:
Code:
$yourmessage = str_replace($sm1[$i], "<img src=\"http://www.johntrueman.com/GuestB/images/icon_$sm2[$i].gif\" ALT=\"$sm3[$i]\">", $yourmessage);
The above assumes that you have the images folder inside of the "GuestB" folder of your web folder.
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
17 years 10 months ago #338
by rasc00
Replied by rasc00 on topic Toolbar & Smileys dont display
Hi Pete,
The smileys now display ok when viewing a guestbook entry but do not display on the add an entry page 9 neither does the toolbar also)
The smileys now display ok when viewing a guestbook entry but do not display on the add an entry page 9 neither does the toolbar also)
Please Log in or Create an account to join the conversation.
17 years 10 months ago #340
by rasc00
Replied by rasc00 on topic Toolbar & Smileys dont display
Ok - I changed the address for the images in guestbook.php also and all seems fine now.
Thank you for your help on this.
Regards,
John
Thank you for your help on this.
Regards,
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.119 seconds