| Author |
Message |
|
|
Thanks alot Trevor! I think I get it all
Stephanie
|
 |
|
|
Ich habe da poll script 2.03 und die Installation ist gut gegangen, aber das einbinden in eine Seite gehjt absolut nicht. Immer die Gleiche Fehlermeldung.
poll_process(4); ?>
Was ist hier falsch?
|
 |
|
|
Yeah, already tried that too. I've been playing around with the code for a while now with no luck. Maybe it isn't possible to remove the gender option for select entries.
|
 |
|
|
..entweder bin ich blind, oder es steht wirklich nirgends.
Wer sagt mir, welche Neuerungen es im Advanced Poll 2.0.3
gegenüber der v2.0.2 gibt!?
Gruß,
Benjamin.
|
 |
|
|
|
I have installed the updated guestbook with the image verification but the image doesn't appear when signing the book. Can anybody point me in the right direction to correct this problem?
|
 |
|
|
Hi Stephanie,
Might be able to help you. Just installed Advanced Guestbook and made a few changes myself. Hopefully this will help...
CHANGING DROP DOWN MENU
Instructions below are based on what I found here... http://proxy2.de/forum/viewtopic.php?t=1686&highlight=drop+menu
Open the file called gb.class/php in the lib subdirectory.
Look for where it says...
function generate_JumpMenu() {
$menu_array[] = "<select name=\"entry\" onChange=\"urlJump('self',this)\" class=\"select\">";
$menu_array[] = "<option value=\"0\" selected>".$this->db->LANG["FormSelect"]."</option>";
(With line numbering on it should be lines 58, 59 and 60).
Between lines 59 and 60 insert the menu entries you want - something along these lines (this adds 2 entries, you can add more or less)...
$menu_array[] = "<option value=\"http://domainname.com/home\" class=\"select\">Home Page</option>";
$menu_array[] = "<option value=\"http://domainname.com/sitemap\" class=\"select\">Site Map</option>";
Change domianname.com/home and domainname.com/sitemap to the URLs you want and change Home Page and Site Map to the relevent page descriptions.
Save all that and open the file called header.php in the templates subdirectory. Insert the following right at the top of the page...
<script language="Javascript">
<!--
function urlJump(target,selObj) {
var optionValue = selObj.options[selObj.selectedIndex].value;
var isURL = /http:/;
var regMatch = isURL.test(optionValue);
if(regMatch == true) {
eval(target+".location='"+selObj.options[selObj.selectedIndex].value+"'");
}
}
// -->
</script>
Save that and hopefully now you've got a drop down menu.
REPLACE LOGO, ADD BANNER ETC
Not sure what you mean by the logo - apart from the Sign The Guestbook thing I haven't got one. Anyway, you can get rid of Sign The Guestbook and replace it with your own logo / banner / whatever...
You need to open the file called body.php in the templates dubdirectory and look for...
<td width="44%" align="right" class="font2"><img src="$GB_PG[base_url]/img/signing.gif" width="90" height="30" border="0"> <br></a>
(line 5 with numbering on).
signing.gif is the name of logo - either remove it from the script so as to get shut of it or replace it with your own banner. If you replace it make sure to upload your banner to the img subdirectory and change the align, width, height and border settings to suit.
-----------------------
Hope it makes sense - I'm off to finish setting up my guestbook now, changing the smilies then it goes 'live'. Good luck.
Trevor
|
 |
|
|
hm, just a guess but maybe you should delete the whole thing?
Like take out the whole 'm' part, quotes and all.
|
 |
|
|
Hi-
I installed advanced guestbook 2.2 (it came on my hosting account) and I love it. There are just three things I need to do in order to make it "live" on my site and I can't figure it out:
1)I need to replace logo and put up a banner .jpg on the top
2) I need to be able to link back to my website homepage
3) I would love to be able to get right of the image that says "sign my guestbook" in red script that is on the header
Any help would be much appreciated...just telling me where to find out how I can get to this stuff would be a help!
Stephanie
|
 |
|
|
|
That would be good to know...Also, where's the change log?
|
 |
|
|
|
where can I find the source for the jump menu(drop down). in the body template it just shows that it is loaded but I want to edit the source. thanx
|
 |
|
|
BlackMagic wrote:i use a blogging script named nucleus.. this script has php commands that you can use but it sets the php include command so that i can only use one line.. for example to 1 file... so with the advanced poll script it has to have that one line then it has an echo command attached to it..
is there anyway i can edit the booth.php or anything so that i only have to direct the poll to the booth.php and leave out the echo tag?..
thanks,
Matt
bah.. ignore that -_- wrong place
|
 |
|
|
I use a blogging script named nucleus.. this script has php commands that you can use but it sets the php include command so that i can only use one line.. for example to 1 file... so with the advanced poll script it has to have that one line then it has an echo command attached to it..
is there anyway i can edit the booth.php or anything so that i only have to direct the poll to the booth.php and leave out the echo tag?..
thanks,
Matt
|
 |
|
|
i use a blogging script named nucleus.. this script has php commands that you can use but it sets the php include command so that i can only use one line.. for example to 1 file... so with the advanced poll script it has to have that one line then it has an echo command attached to it..
is there anyway i can edit the booth.php or anything so that i only have to direct the poll to the booth.php and leave out the echo tag?..
thanks,
Matt
|
 |
|
|
I'd like to figure out how to do this too.
I tried importing past entries from my other forum and it just auto-filled the gender field as male for all of them. grr
|
 |
|
|
|
Use a full path i.e http://www.yoursite/path_to_folder
|
 |
|
|