Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Advanced Guestbook for Osc


elari

Recommended Posts

  • 1 month later...
  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Has anyone got this contribution to display the right images? I have been trying to figure this out for days and I still get urls like this http://img/home.gif and this http://includes//images/signing.gif

I visited the demo http://www.unlockgsm.com/test_checkout/cat...log/default.php and it seems that the author has the same problem :?

Has anyone figured this out?

Link to comment
Share on other sites

updated to work with osc language

 

Hi,

What do you mean works with osc languages?

 

If it is posted in English, only people that are viewing the English part can view that posting or what?

 

Thanks

 

Salvo

Link to comment
Share on other sites

khaaliq :twisted:

which problem with image on demo page ????

gbook_with_image_khaaliq.gif

have you even go there ?

 

if i asked you 4 times to put message in the forum it is so i don't have to answer each time the same thing

 

you could at least say that i already answered you many time to help you before

 

so i repost answer here for anybody who will need them

1/ it is working with lastest snapshot

2/ no need config.inc.php it is moved to includes/gbook.php

3/ you must copy files in catalog directory to match osc tree (includes, languages, functions...)

 

 

i have reposted a new package version only for you since it seems you didn't understand anything :)

 

i think most of your problem is that you have no catalog directory so gbook try to find image in //img instead of /catalog/img/

 

i will try to look at this in few days as now i have no time.. :(

 

Salvo

What do you mean works with osc languages?

 

If it is posted in English, only people that are viewing the English part can view that posting or what?

it just mean that i have made some change to the guestbook to use the language according to the one of the visitor in your shop. originally guestbook was displaying only in the language you set in admin for all visitors.

i have also changed it to connect to mysql using you configure.php instead of a separate setup....

integrated in admin...

removed the admin link visible to visitors...

 

please, do not contact me PM or email for support without first posted your request in indicated thread for any of my work.

if you post a question in a thread i have wrote, i will read it and answer if i have a solution

Link to comment
Share on other sites

about this picture only ?

 

the problem is that this picture Sign Book is only in english and i had not translated it. this is why i didn't care that it does not display .

 

but you are true !

 

icon has to be put for each language in this directory

catalog/includes/languages/english/images/

 

and has you can see

http://www.unlockgsm.com/test_checkout/cat...ges/signing.gif is missing the reference to language file

not $GB_PG["base_url"]

 

if it can help you here one way

add in each language file gbook.php you use

(in includes/languages/english/gbook.php)

$LANG["Language"] = "english";

or the name of language espanol, german...

 

then in

includes/templates/body.php

change line 6 this way

 

 

 

<td width="44%" align="right" class="font2"><img src="$GB_PG[base_url]/includes/languages/$LANG[Language]/images/signing.gif" width="90" height="30" border="0" >         <br>

 

as you can see in my demo page, now it work for the small logo signing.gif

 

i'll send you the bill :wink:

Link to comment
Share on other sites

Sorry but I still think it has something to do with this variable $GB_PG["base_url"]

 

Because I still get this http://includes/languages/english/images/signing.gif

 

It should be http://www.puresoap.com/includes/languages...ges/signing.gif

 

Right?

 

The other images are looking for this http://img/icq.gif

 

Doesn't the base url have something to do with this? If I change every place where this base url is would that fix this?

Link to comment
Share on other sites

Elari,

 

I got the pictures to show! :shock:

I had to add my URL to all of the files in the template directory and some files in the classes_gb directory. Hold on, don't get excited for me yet! When I upload a picture to the guestbook I get this again http://tmp/img-1043986105.gif and the picture of course does not show :cry:

 

What file has this variable?

Link to comment
Share on other sites

try to setup a demo shop with

www.puresoap.com/catalog

and admin not inside catalog

www.puresoap.com/admin

 

then apply guestbook

 

it would be very usefull to see if it change something

Link to comment
Share on other sites

That would be too much trouble :)

I already have my cart setup like I want it. Can you tell me what file the link is in for the images that are uploaded? I really don't want to go through another osc install.

Link to comment
Share on other sites

i'm not the writer of Advanced Guestbook. i just adpat it to work with osc for my personal use

if you need more, i don't know without searching for this info for you...

 

i think you have to search yourself. as you have no time to make some test, i have no time to search :))

 

open souce does not mean 100% support on request

Link to comment
Share on other sites

ha ha real funny :lol:

I have been searching every since I tried installing this thing. I didn't know that you were not the author. :oops:

I found this code that I think handles the upload image but I am not sure (don't know php as you probably knew already) gb_user_img it is in the gbaddentry.php file.

Link to comment
Share on other sites

good news to see that you find your answer :)

 

however concerning guestbook and as i told you it should take less time to setup a DEMO shop on your server like

puresoap.com/demo/catalog

a puresoap.com/demo/admin

and to see how it work

 

after you can compare where and what is the problem

 

image upload also seem to work on my demo page.

maybe you have to make a temp dir ?

di you read the original doc files that are provided in ___removed directory ?

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Hello,

I am trying to install the guestbook on a new loaded 5 site.

 

When I get to the install page I get this

Fatal error: Cannot redeclare tep_session_start() (previously declared in /home/antioch/public_html/test/includes/functions/sessions.php:67) in /home/antioch/public_html/test/includes/functions/sessions.php on line 66

 

 

Can someone tell me how to fix this . or do you have a sql file that I could just manually enter the tables etc. myself?

 

Thanks,

Webdeva

Link to comment
Share on other sites

I must be blind lol.

 

I see a sql file in the orginal guestbook for an upgrade but other then that I can not find a sql for a manual databse installation.

 

The install page for this contribution is the only place I get the error I mentioned above.

 

Could you send me the SQL file? Or tell me in what folder it's in?

Thanks,

Nicole

Webdeva

Link to comment
Share on other sites

To the person who was having troubles with the signing.gif image. This is what I out in line 6 of the includes/templates/body.php file

 

  <td width="44%" align="right" class="font2"><img src="$GB_PG[base_url]/includes/languages/english/images/signing.gif" width="90" height="30" border="0" >         <br>

 

Hope this helps the next person :)

Webdeva

Link to comment
Share on other sites

includes/templates/body.php  

change line 6 this way  

 

 

 

Quote:  

<td width="44%" align="right" class="font2"><img src="$GB_PG[base_url]/includes/languages/$LANG[Language]/images/signing.gif" width="90" height="30" border="0" >         <br>  

 

 

no please change this way, this will let you have signing logo for each language instaed oly english.

 

 

there is still some other problem in guestbook, maily for comment if i remmeber...

but for instance i really have no time to make any dev :((( i have TOOOO many papers late for my company

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...