<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Ad. Guestbook question..."]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Ad. Guestbook question..."]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Ad. Guestbook question...</title>
				<description><![CDATA[ How do I add the guestbook to the page as you have on this page? So the guestbook fits the layout without having it as a pop up and such...]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9809.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9809.php</link>
				<pubDate><![CDATA[Thu, 12 Aug 2004 17:03:17]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Go here...<br /> <br /> [url]http://proxy2.de/forum/viewtopic.php?t=3460[/url]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9810.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9810.php</link>
				<pubDate><![CDATA[Thu, 12 Aug 2004 17:08:48]]> GMT</pubDate>
				<author><![CDATA[ Trevor]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hmm... I don't know if I understood it... because when I go to the page and press "Sign The Guestbook" or "Administator" it shows page cannot be displayed. I got to display the guestbook in the layout... but pictures and links doesn't work.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9813.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9813.php</link>
				<pubDate><![CDATA[Thu, 12 Aug 2004 18:18:11]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ From your first post I thought you were wanting a guestbook page just like any normal guestbook but with other stuff on the page - a menu at the left, heading at the top etc - something along those lines.  Is that right?<br /> <br /> As for 'page cannot be displayed' etc could be any number of things.<br /> <br /> What's the URL for your guestbook?<br /> <br /> I'm sorting out my own problems with 'page cannot be displayed' - not in the guestbook but 850 pages on the site, all to be changed manually 'cos they're not dynamic - I hate repetitive things like that almost as much as I hate webhosts who change hosting packages ever so slightly and cause these problems in the first place.<br /> <br /> Sorry 'bout that - just getting it off my chest.  Anyways, post your URL so we can see what's happening.<br /> <br /> Regards<br /> <br /> Trevor]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9817.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9817.php</link>
				<pubDate><![CDATA[Thu, 12 Aug 2004 19:48:54]]> GMT</pubDate>
				<author><![CDATA[ Trevor]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ [quote="Trevor"]<br /> I'm sorting out my own problems with 'page cannot be displayed' - not in the guestbook but 850 pages on the site, all to be changed manually 'cos they're not dynamic - [/quote]<br /> <br /> if its a common change have you a program that can do  a string replace in each file?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9818.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9818.php</link>
				<pubDate><![CDATA[Thu, 12 Aug 2004 20:02:38]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hi,<br /> <br /> Thanks for the reply - yes it's a common change.  I have 3 include tags on each page but I never used extensions with the filenames (e.g include 12345 instead of include 12345.html) so I just need to add the extension.<br /> <br /> Strange thing is it worked fine until yesterday afternoon and is only affecting files in 2 folders - everything else still works fine with or without extensions.<br /> <br /> I can open each file one at a time and do a find and replace but it would be much better as you say, to do a string search on the whole lot.  Any ideas?<br /> <br /> P.S. Sorry this threads gone off topic.<br /> <br /> Regards,<br /> <br /> Trevor]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9820.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9820.php</link>
				<pubDate><![CDATA[Thu, 12 Aug 2004 21:14:28]]> GMT</pubDate>
				<author><![CDATA[ Trevor]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I want the guestbook to display in this layout:<br /> <br /> <a class="snap_shots" href="http://www.nullproblem.com/gjestebok.php" target="_blank" rel="nofollow">http://www.nullproblem.com/gjestebok.php</a><br /> <br /> I've added this include text:<br /> <br /> [quote]&lt;?php include('gjestebok/index.php'); ?&gt;[/quote]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9824.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9824.php</link>
				<pubDate><![CDATA[Fri, 13 Aug 2004 05:01:04]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hi Christoffer,<br /> <br /> The 'include' tag seems to have worked  <img src="https://proxy2.de/forum//images/smilies/283a16da79f3aa23fe1025c96295f04f.gif" /> <br /> <br /> Problem with the links is that they're pointing to a none existent page.  For example, the 'sign guestbook' link points to [color="blue"]http://www.nullproblem.com/addentry.php[/color] but your addentry page is at [color="blue"]http://www.nullproblem.com/gjestebok/addentry.php [/color]- should be just a case of changing the links.<br /> <br /> Similar thing with your graphics except there's no base URL.  For example, the img src for the little 2 x computers logo is [color="blue"]http://img/ip.gif [/color]and on your site it should be [color="blue"]http://www.nullproblem.com/gjestebok/img/ip.gif[/color].<br /> <br /> Not quite sure what's happened there as the base URL is consistent throughout the guestbook but somehow you've got it working in some places but not others.  Did you manually change the image links?<br /> <br /> Have a mess about correcting those links and it should all work fine.  Whilst your changing things I'd be tempted to get rid of the links to the admin page as well.<br /> <br /> Any problems - post another message.<br /> <br /> Trevor]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9825.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9825.php</link>
				<pubDate><![CDATA[Fri, 13 Aug 2004 05:52:59]]> GMT</pubDate>
				<author><![CDATA[ Trevor]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Just gone back and had a look at your guestbook...<br /> <br /> Your guestbooks just a tiny bit too big for a 1024 x 768 screen resolution, which is what most people have.  You've got width tags set to 1024 in a few places - maybe change them to about 970.<br /> <br /> Just a thought.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9826.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9826.php</link>
				<pubDate><![CDATA[Fri, 13 Aug 2004 06:17:16]]> GMT</pubDate>
				<author><![CDATA[ Trevor]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thanks, but where is the codes for images and for the links? In which file are they located?<br /> <br /> Also, when I placed the guestbook file in the guestbook folder where all the other stuff is, the links worked BUT I want all the pages to be displayed in the "gjestebok.php" file and not like 3-4 different if you know what I mean? Is there any commands which can allow that?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9830.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9830.php</link>
				<pubDate><![CDATA[Fri, 13 Aug 2004 13:43:58]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ All the images are in the folder called [i]img [/i](the smilies are in a sub-folder called [i]smilies[/i]).<br /> <br /> Not sure how you've got your pages set up, but if you're using an [i]include [/i]tag to pull in files from the guestbook, to a page outside the guestbook folder, this could be what's causing the problems with base_url.<br /> <br /> Try this: Open each file in the [i]templates [/i]folder one by one, do a search for [color="blue"]base_url [/color]and change the img src path.  In other words, when you come across something like this...<br /> <br /> &lt;img src="[color="red"]$GB_PG[base_url][/color]/img/return.gif" width="10" height="10"&gt;<br /> <br /> Replace it with something like this...<br /> <br /> &lt;img src="[color="red"]http://www.nullproblem.com/gjestebok[/color]/img/return.gif" width="10" height="10"&gt;<br /> <br /> That way it doesn't matter where your guestbook pages are (they could be in a different folder / sub-folder / site / server etc) and the images will still be included.<br /> <br /> That should do it.<br /> <br /> Trevor]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9831.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9831.php</link>
				<pubDate><![CDATA[Fri, 13 Aug 2004 15:14:03]]> GMT</pubDate>
				<author><![CDATA[ Trevor]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Open up the admin/config.php and look for where it asks you to input a BASE_URL or something similar. It is not getting the correct url so you will have to put the guestbooks url in this variable.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9836.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9836.php</link>
				<pubDate><![CDATA[Fri, 13 Aug 2004 16:39:34]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I tried what you said first Carbonize, but that didn't work... So now I'm working on what you said Trevor <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" /> It works atleast. But now the problem is more this:<br /> <br /> www.nullproblem.com/gjestebok.php<br /> <br /> When I press on Sign the guestbook it goes to a new page and doesn't stay in the layout <img src="https://proxy2.de/forum//images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" /> I wish all of that could stay in the layout]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9874.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9874.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 03:01:24]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I don't know much about this, but look at the source code for the two documents, specifically in the script near the bottom:<br /> <br /> Guestbook index.php:<br /> <br /> [code]<br />     theURL = '//picture.php?img='+Image;<br />     popup = window.open&#40;theURL,winName,features&#41;;<br />     popup.focus&#40;&#41;; [/code]<br /> <br /> addentry.php:<br /> <br /> [code]<br />     theURL = '/gjestebok/picture.php?img='+Image;<br />     popup = window.open&#40;theURL,winName,features&#41;;<br />     popup.focus&#40;&#41;;  <br /> &#125;[/code]<br /> <br /> <br /> I'm wondering if it's the path that was placed in the file.  Since you are already in the guestbook directory when you are at the index page, when you go to addentry, do you need the "gjestebok/"  in the path...?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9876.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9876.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 04:02:47]]> GMT</pubDate>
				<author><![CDATA[ amber222]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Where are those located? I couldn't find them <img src="https://proxy2.de/forum//images/smilies/9d71f0541cff0a302a0309c5079e8dee.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9878.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9878.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 06:36:19]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ You were saying you followed Trevor's instructions.  I read through the posts, and it doesn't appear that his posts had anything to do with that javascript.<br /> [quote]I tried what you said first Carbonize, but that didn't work... So now I'm working on what you said Trevor Smile It works atleast. But now the problem is more this:<br /> [/quote]<br /> I was just pointing out that when I look at the source code, there is a javascript in both the guestbook/index.php and guestbook/addentry.php files.  But the code is not quite the same in each one.  Since both of these files are in the same directory, and the script is calling the same thing, I would think they would be identical.  But now that I think about it, you are trying to do something entirely different, and I am not the person to advise you on this.  You should just disregard my previous post.<br /> <br /> Perhaps Trevor will be able to help you when he returns.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9879.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9879.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 08:17:47]]> GMT</pubDate>
				<author><![CDATA[ amber222]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ OK the problem is that you have used an include call to place the guestbook outside of it's own directory and the image paths are coded to be correct when the page that is calling them is in the guestbook directory. Baiscally you have 2 choices.<br /> <br /> 1 - Do as I do and leave the guestbook in it's own directory and call a header and footer file from the guestbooks index.php.<br /> <br /> 2 - Open [b]admin/config.inc.php[/b] and look for [code]$GB_PG&#91;&quot;base_url&quot;&#93; = &quot;&quot;;[/code]<br /> Change this to [code]$GB_PG&#91;&quot;base_url&quot;&#93; = &quot;http&#58;//www.nullproblem.com/gjestebok&quot;;[/code]<br /> and if that doesn't work it's going to be a case of going through all the files and hardcoding in the correct image paths.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9881.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9881.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 08:44:03]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ On an off topic note 800x600 is still the most common screen size and I hate sites that go off the side of the screen.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9882.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9882.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 08:45:05]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Would that be those in the template directory?]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9893.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9893.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 11:39:34]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ as it says it is [b]admin[/b] / [b]config.inc.php[/b] meaning it is the file called [b]config.inc.php[/b] in the directory called [b]admin[/b].]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9894.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9894.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 11:44:00]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ No, I was thinking more of the header and footer files which was going to be in the include... I understood the admin / config.inc.php thing.<br /> <br /> But when I added the templates/header.php and templates/footer.php to the page it looked like this:<br /> <br /> www.nullproblem.com/gjestebok.php]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9895.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9895.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 13:11:23]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ If you're going to put your guestbook within another page you are best of deleting the contents of the templates/header.php and templates/footer.php files. Back them up first and then replace the contents in both with a space or [b]&amp;nbsp;[/b].<br /> <br /> In your example though I see the header and footer I see no content.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9896.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9896.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 13:27:27]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Hi Christoffer,<br /> <br /> I'll go into a bit more detail about what Carbonize and me were on about earlier...<br /> <br /> Your guestbook uses a thing called [i]base_url [/i]- which, as the name suggests, is the base url.<br /> <br /> When the guestbook runs it effectively replaces instances of [i]base_url [/i]with a predetermined value.  In your gesutbook this should be [color="blue"]www.nullproblem.com/gjestebok[/color]<br /> <br /> So, written into your guestbook are lines such as this...<br /> <br /> [color="red"]&lt;img src="$GB_PG[base_url]/img/return.gif" width="10" height="10"&gt; [/color]<br /> <br /> When you run the guestbook and it replaces [i]base_url [/i]what it then reads is this...<br /> <br /> [color="red"]&lt;img src="http://www.nullproblem.com/gjestebok/img/return.gif" width="10" height="10"&gt;[/color].<br /> <br /> When I looked at your guestbook the other day it didn't seem to have any value for [i]base_url [/i]so instead of assigning [color="blue"]www.nullproblem.com/gjestebok/[/color] it was assigning nothing with the result it was trying to find images loctaed at [color="blue"]http://img/return.gif[/color].<br /> <br /> I'm not sure how you've managed to unassign a value to [i]base_url [/i]but somehow it's happened.<br /> <br /> I guess you've got 3 options...<br /> <br /> 1) Assign a value to [i]base_url[/i] as explained earlier<br /> <br /> 2) Reinstall and start again<br /> <br /> 3) Hard code it.<br /> <br /> Personally I'd go for the hard coding option.  That way you don't have any problems with moving files and folders and using [i]include[/i] tags to pull in files and images to pages outside the guestbook.<br /> <br /> You need to replace every instance of [i]base_url [/i]and an easy way to make sure you don't miss any is to FTP guestbook to your computer and do a string search in all the files for [i]base_url[/i].  Then just open the files in your script editor, make whatever change,s and away you go.<br /> <br /> That should do it.  Right, it's the weekend, the rains stopped and I'm off out for the day so nothing more from me for a while.  Besides, you've got Carbonize on the case so you're in good hands.<br /> <br /> Have fun.<br /> <br /> Trevor]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9897.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9897.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 13:43:48]]> GMT</pubDate>
				<author><![CDATA[ Trevor]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ I understand what you mean <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" /> But it's not working as it should... I guess<br /> <br /> I did upload all the templates again (after doing the hardcoding thing to change all the base_url stuff) and now tried with addind a include header, include index and and include footer. Now the images work as they should, BUT not the links...<br /> <br /> Why is that? I thought it was wierd, since the images are linked to the right places, then so should the links aswell... shouldn't they?<br /> <br /> I really appreciate the help from you 2 <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9898.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9898.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 14:06:16]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ ok to fix the links open up the config.inc.php file and look for [code]$GB_PG&#91;&quot;index&quot;&#93;    = &quot;index.php&quot;;<br /> $GB_PG&#91;&quot;admin&quot;&#93;    = &quot;admin.php&quot;;<br /> $GB_PG&#91;&quot;comment&quot;&#93;  = &quot;comment.php&quot;;<br /> $GB_PG&#91;&quot;addentry&quot;&#93; = &quot;addentry.php&quot;;[/code]<br /> <br /> Now replace it with [code]$GB_PG&#91;&quot;index&quot;&#93;    = &quot;http&#58;//www.nullproblem.com/gjestebok.php&quot;;<br /> $GB_PG&#91;&quot;admin&quot;&#93;    = &quot;http&#58;//www.nullproblem.com/gjestebok/admin.php&quot;;<br /> $GB_PG&#91;&quot;comment&quot;&#93;  = &quot;http&#58;//www.nullproblem.com/gjestebok/comment.php&quot;;<br /> $GB_PG&#91;&quot;addentry&quot;&#93; = &quot;http&#58;//www.nullproblem.com/gjestebok/addentry.php&quot;;[/code]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9900.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9900.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 14:27:56]]> GMT</pubDate>
				<author><![CDATA[ Carbonize]]></author>
			</item>
			<item>
				<title></title>
				<description><![CDATA[ Thanks alot <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" /> Now it works as it should <img src="https://proxy2.de/forum//images/smilies/3b63d1616c5dfcf29f8a7a031aaa7cad.gif" />]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/3483/9901.php</guid>
				<link>https://proxy2.de/forum/posts/preList/3483/9901.php</link>
				<pubDate><![CDATA[Sat, 14 Aug 2004 14:39:44]]> GMT</pubDate>
				<author><![CDATA[ Anonymous]]></author>
			</item>
	</channel>
</rss>