If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Advanced Guestbook--Quick couple of questions  XML
Forum Index » Support Forum
Author Message
Anonymous



First I would like to say how much I love the work you put into this fabulous guestbook. I can't find anywhere to donate you money for this. I can't accept this much work for free. Where may I send you a donation?

Second I would like to ask. In the guestbook on the top right there is a pull down menu that only has "Guestbook" as a selection. I would like to add other links on my website to this menu if possible but I can't find where to edit it. Your help would be appreciated.

Thank you ever so much.

Tom S.
http://kischat.com
Anonymous



Guess I don't qualify for an answer...
Oh well
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Try http://spisas.com/ for the info you need and...

The give money thing is to register it to get rid of the link at the bottom of every page is http://proxy2.de/register
But I think its only for the Adv. Poll, but money's money I guess.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
wlt00
Newbie

Joined: 10/09/2003 21:53:52
Messages: 1
Location: Los Angeles, CA
Offline

Well, I've read all posts and its still unclear. My file, like someone elses, does not have the same code suggested. Also, I am more interested in adding additional guestsbooks to the pulldown menu as I've seen on your great looking sites.

My problem is that my provider makes me use Cpanel to install the guestbook (2.2) and I don't have a lot of visibility to the databases. Is there something out there that will tell me to add the additional guestbooks. Or is the pulldown menu not built for this. I've done my homework but I can't find anything.

Thanks
[Email]
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Adv. GBook is not my specialist area but you need to find the template file that makes up that particular part of the page, maybe header.tpl or something. Find some code like this...



Then add some more options to the list before this tag </select>.

The point of the menu is when you have a couple of hundred posts people can use that to view posts 80-100 or 1-20 ect...

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



This looks like what you're talking about. Its in gb.class.php and I can see the array elements are being set with the select/unselect values. I suppose that I can experiment and remove the code for range numbers and just replace it with some urls encapsulated as you suggest. What do you think?

function generate_JumpMenu() {
$menu_array[] = "<select name=\"entry\" class=\"select\">";
$menu_array[] = "<option value=\"0\" selected>".$this->db->LANG["FormSelect"]."</option>";
if ($this->db->VARS["entries_per_page"] < $this->total) {
$remain = $this->total % $this->db->VARS["entries_per_page"];
$i = $this->total-$remain;
while ($i > 0) {
$num_max = $i;
$num_min = $num_max-$this->db->VARS["entries_per_page"];
$num_min++;
$menu_array[] = "<option value=\"$remain\">$num_min-$num_max</option>";
$i = $num_min-1;
$remain += $this->db->VARS["entries_per_page"];
}
}
$menu_array[] = "</select>";
$menu_array[] = "<input type=\"submit\" value=\"".$this->db->LANG["FormButton"]."\" class=\"input\">";
return $menu_array;
}
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Well as I said its not my specialty.

You could try this...

After this...


Add this directly after...


And so on... (*** MAYBE ***)

I'm not sure this will work, I think it may add extra items to the menu array at the top.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum