| Author |
Message |
|
|
Ok, To prevent spam and pagerank leeching I've disabled all linking in posts, but a lot of generic posts are still being made with their websites as their homepage.
There doesn't seem to be an option to disable the homepage field in admin so I guess I'll have to edit the PHP.
Is anyone willing to help me how to do it?
|
 |
|
|
Ok, To prevent spam and pagerank leeching I've disabled all linking in posts, but a lot of generic posts are still being made with their websites as their homepage.
There doesn't seem to be an option to disable the homepage field in admin so I guess I'll have to edit the PHP.
Is anyone willing to help me how to do it?
|
 |
|
|
Still waiting on some help so I can access my admin page.
I would think I go to : http://my website.com/links/admiin=my password
Is this correct?
Thanks
|
 |
|
|
Well.. for some folks... that's not such a stupid question! LOL
Yes.... I've turned on agcodes and html. I've noticed that the urls in the guestbook (comment section) on this website do not show up as "clickable" links either.
|
 |
|
|
AGCODES don't work. I can make text bold by using <b> and </b>, and I can use <i> for italics. [b] for bold will not work. <> has to be used. Also, when a url is typed in, it will not display the text as a link. I can't even use [ur1]http://....[/ur1] to make it appear as a link. (I used the number one - here ... instead of l's to view my text.
Any suggestions?
Thanks in advance.
|
 |
|
|
|
I had the same prob. To solve it, u must cut the include part before!! the html tag...then it'll works fine
|
 |
|
|
Hi, I found the solution myself! I am new to php but tried things out and it works!
Before you trie the solution I found, make a copy of the original popup.php, just in case that my solution does not work out for you.
And: your poll_path in the first line of the code can be different from mine! Perhaps you need the poll_path from the original popup.php file.
Open the file popup.php, and replace the php-code between the <body>tags with this one:
-----------------------------------
<?php
$poll_path = "/home/virtual/site24/fst/var/www/html/poll";
require $poll_path."/include/class_pollcomment.php";
$php_poll = new pollcomment();
$php_poll->set_template_set("popup");
if (isset($poll_ident) && isset($action)) {
$php_poll->set_max_bar_length(110);
echo $php_poll->poll_process($poll_ident);
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(5);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments($poll_ident);
echo $php_poll->get_comment_pages($poll_ident);
}
?>
-----------------------------------
In the file where you want to show your poll you embed your poll with this code (replace the "4" in the last lines with the ID-number of your poll):
<?php
/* Include this before your html code */
include "./poll_cookie.php";
?>
<?php
/* Include this in the body of the html code where you want to show the poll*/
$poll_path = "/home/virtual/site24/fst/var/www/html/poll";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new poll();
$php_poll->set_template_set("popup");
if ($php_poll->is_valid_poll_id(4)) {
echo $php_poll->display_poll(4);
}
?>
|
 |
|
|
Hi, I found the solution myself! I am new to php but tried things out and it works!
Before you trie the solution I found, make a copy of the original popup.php, just in case that my solution does not work out for you.
And: your poll_path in the first line of the code can be different from mine! Perhaps you need the poll_path from the original popup.php file.
Open the file popup.php, and replace the php-code between the <body>tags with this one:
-----------------------------------
<?php
$poll_path = "/home/virtual/site24/fst/var/www/html/poll";
require $poll_path."/include/class_pollcomment.php";
$php_poll = new pollcomment();
$php_poll->set_template_set("popup");
if (isset($poll_ident) && isset($action)) {
$php_poll->set_max_bar_length(110);
echo $php_poll->poll_process($poll_ident);
$php_poll->set_template("poll_comment");
$php_poll->set_comments_per_page(5);
$php_poll->set_date_format("d/m/Y H:i");
$php_poll->data_order_by("time","desc");
echo $php_poll->view_poll_comments($poll_ident);
echo $php_poll->get_comment_pages($poll_ident);
}
?>
-----------------------------------
In the file where you want to show your poll you embed your poll with this code (replace the "4" in the last lines with the ID-number of your poll):
<?php
/* Include this before your html code */
include "./poll_cookie.php";
?>
<?php
/* Include this in the body of the html code where you want to show the poll*/
$poll_path = "/home/virtual/site24/fst/var/www/html/poll";
require $poll_path."/include/config.inc.php";
require $poll_path."/include/$POLLDB[class]";
require $poll_path."/include/class_poll.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new poll();
$php_poll->set_template_set("popup");
if ($php_poll->is_valid_poll_id(4)) {
echo $php_poll->display_poll(4);
}
?>
|
 |
|
|
Rayzun, I tried your code but this is not the solution. There is not even a pop-up window! The question is: how to get the commands in the popup-window with the results of the poll.
I have posted a new topic on september 26th with this question.
Or, Will Boss, did you allready work it out? Please let me know then.
|
 |
|
|
I got the free-links script working beautifuly, except I cant reach the admin panel, to delete some links.. Any ideas? Thanks..........
Herbie H.
|
 |
|
|
I finally contacted my host and they advised I was using the wrong directory path!! You were right about changing the directory path, you (and I) just didnt know the correct directory path. I wish to thank you for working with me on this my friend !
Maybe we have helped others when they read how important the correct directory path can be!
|
 |
|
|
|
By the way, the "links" folder has always been in my root folder (public_html). Is it supposed to go in the cgi-bin?
|
 |
|
|
Carbonize wrote: I think the fault lies in the location you have supplied for where the text file is stored. .
I do to, but, I have the the text file stored in the "Links" folder where it originally came. Is this where it is supposed to be?
|
 |
|
|
I've been using the GB for months now, and I use the
Exp. European Format time notation. (Monday, 25 April 2000) But now, I want to edit this notation. 25 April (Monday) 2000, but I can't find the file with the date format? Can anyone help me? The name may be remained Exp. European Format.
Thanks!
|
 |
|
|
Here is what I have for "post':
<form method="post" action="http://cafedesire.com/cgi-bin/links.pl" name="message">
|
 |
|
|