elari Posted December 16, 2002 Share Posted December 16, 2002 updated to work with osc language download here http://www.unlockgsm.com/dload-osc/pafiledb.php not 100% ok some fixe still needed demo http://www.unlockgsm.com/test_checkout/cat...log/default.php Quote Link to comment Share on other sites More sharing options...
khaaliq Posted January 30, 2003 Share Posted January 30, 2003 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? Quote Link to comment Share on other sites More sharing options...
Salvo Posted January 30, 2003 Share Posted January 30, 2003 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 Quote Link to comment Share on other sites More sharing options...
elari Posted January 30, 2003 Author Share Posted January 30, 2003 khaaliq :twisted: which problem with image on demo page ???? 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 Quote Link to comment Share on other sites More sharing options...
khaaliq Posted January 30, 2003 Share Posted January 30, 2003 http://www.unlockgsm.com/test_checkout/cat...ges/signing.gif no need to get testy. Just trying to get this to work :lol: Quote Link to comment Share on other sites More sharing options...
khaaliq Posted January 30, 2003 Share Posted January 30, 2003 Does this variable $GB_PG["base_url"] have anything to do with the images not showing? If so, tell me what file I should change this. Thanks. Quote Link to comment Share on other sites More sharing options...
elari Posted January 30, 2003 Author Share Posted January 30, 2003 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: Quote Link to comment Share on other sites More sharing options...
khaaliq Posted January 30, 2003 Share Posted January 30, 2003 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? Quote Link to comment Share on other sites More sharing options...
elari Posted January 30, 2003 Author Share Posted January 30, 2003 yes it would be this try it.... for my site it work as is ! i really have no idea why it does work from your's Quote Link to comment Share on other sites More sharing options...
khaaliq Posted January 31, 2003 Share Posted January 31, 2003 I don't know either :? Maybe it is the missing catalog folder as you said. Quote Link to comment Share on other sites More sharing options...
khaaliq Posted January 31, 2003 Share Posted January 31, 2003 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? Quote Link to comment Share on other sites More sharing options...
elari Posted January 31, 2003 Author Share Posted January 31, 2003 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 Quote Link to comment Share on other sites More sharing options...
khaaliq Posted January 31, 2003 Share Posted January 31, 2003 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. Quote Link to comment Share on other sites More sharing options...
elari Posted January 31, 2003 Author Share Posted January 31, 2003 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 Quote Link to comment Share on other sites More sharing options...
khaaliq Posted February 1, 2003 Share Posted February 1, 2003 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. Quote Link to comment Share on other sites More sharing options...
elari Posted February 2, 2003 Author Share Posted February 2, 2003 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 ? Quote Link to comment Share on other sites More sharing options...
gnyus Posted February 14, 2003 Share Posted February 14, 2003 I installed the Advanced Guestbook module ok and can't login to the admin... what is the default username and password for the admin? Quote Link to comment Share on other sites More sharing options...
elari Posted February 20, 2003 Author Share Posted February 20, 2003 sorry just back 4. The default account is: Username : test Password : 123 but i presume you have read all included original doc and already found this info :) Quote Link to comment Share on other sites More sharing options...
webdeva Posted March 3, 2003 Share Posted March 3, 2003 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 Quote Link to comment Share on other sites More sharing options...
elari Posted March 3, 2003 Author Share Posted March 3, 2003 it means you have two time the same fuction declared somewhere there is an sql file for creating all table in the package Quote Link to comment Share on other sites More sharing options...
webdeva Posted March 3, 2003 Share Posted March 3, 2003 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 Quote Link to comment Share on other sites More sharing options...
webdeva Posted March 4, 2003 Share Posted March 4, 2003 Ok I found the sql file. man I was tired last night. sheesh webdeva Quote Link to comment Share on other sites More sharing options...
webdeva Posted March 4, 2003 Share Posted March 4, 2003 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 Quote Link to comment Share on other sites More sharing options...
elari Posted March 4, 2003 Author Share Posted March 4, 2003 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 Quote Link to comment Share on other sites More sharing options...
webdeva Posted March 4, 2003 Share Posted March 4, 2003 I tried it that way and it didn't work, it wasn't picking up the language variable. It was leaving a whole in the link. My site only runs in english..... so I am good to go :) Thanks, nicole Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.