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 
Messages posted by: ET
Forum Index » Profile for ET » Messages posted by ET
Author Message
Dale King wrote:Where does the scripts get



from, I've looked in all files I can think of, but really do not know much about PHP. I would like to add some text in there so that it is consistent over my side.

If there is no easy way to change this, maybe this would make a nice addon to the script in the admin page somewhere?

Thanks,


The information is pulled in from the lang/english.php file (or whatever language you selected from your admin).
It is about midway down on the page under
#form
. . . .
$LANG["FormSelect"] = "Name My Advanced Guestbook";

You will find a lot of text for the various language portions of the Guestbook in the language files.
Chris Cee wrote:They are just text files

So I can use a text editor and ftp over the old file?

Chris


Yes - And a suggestion here, to be safe - keep a separate folder with the original php file that you plan to edit. That way you have a backup in case you muck up the one you edit....
I forgot to login before posting and the line as follows:

Anonymous wrote:
Then I added inside the subroutine "success" and immediately after it the following information as noted:


would be better stated as
Then I added inside the subroutine "success" and immediately after that subroutine, the following information ...


Best of luck to you and hoping you have success with the sendmail function.
ikbin9 wrote:I recently acquired the FFAL scirpt from proxy2.de, and I'm having
a slight installation problem. In other words, it don't work...

I'm getting a 500 Internal Server Error, namely,
<root@38-234.myhost.com>

I believe this is the bad doggy in the setup,
$base_dir = "/home/usr/you/links" where
this refers to "Base directory to link files fom the server root."

I've tried several options for the you variable and also
different options for the /home/ variable.

The path to perl is fine, chmod fine, server perl is 5.0+, but I
believe the server is banging its head on this line of code.

I'd hate to bother my server adminstrator with my script problems,
and I'd rather not chunk a good scritpt. Any suggestions would be
greatly appreciated.

Regards,
ikbin9


No, it's not a script error - the base directory is basically the same as the DOCUMENT_ROOT

Each webserver has this set up based on their own needs. Like one server setup may have a document root that looks something like

while another site on another server may look like


Then to add the directory for the links i.e.
for the entire base_dir

Do you know what your particular website's document_root is? If you don't know, I can give you a little cgi script you might be able to run from your cgi-bin to find the basic document root for your site.
trey wrote:I was wondering if you knew anything about this Turkey hacker. I checked out the site he set it up to redirect you to, and it seems like they are hosting some sort of hacking contest. They keep count of how many defacements they have done and stuff like that. And I wonder if this guy is watching my guestbook to see if I have taken down his post so he can slap 'er right back up there.

Also a funny tidbit. My initials are JTD.

And yes, I will patch the exploit problem.


There's a variety of them - from Turkey, Egypt, Saudi, etc - Once you are "tagged" as vulnerable, they arrive on a regular basis to continue to attempt to hack your guestbook The sooner you patch it, the better. There are "hacker" websites out there specifically telling people how to hack into the guestbook and how to find the vulnerable ones.

Now you are forewarned so it is up to you to take the advice to heart or choose to ignore.

Be well
Peter wrote:Hallo,
hat jemand eine Ahnung, was ich bei dem Script ändern muss, um bei neuen Einträgen benachrichtigt zu werden. Vielen Dank


Hi Peter -

I don't speak German - I used freetranslation.com to understand your message. I added some lines to the perl script to tell it to send me a notice - are you interested in that? Post a response and I can post the information here.

Thank you
----------------------------------------
Hallo Peter -

Ich spreche Deutsch nicht - ich habe freetranslation benutzt. com, Ihre Nachricht zu verstehen. Habe ich der perl Schriftart einige Linien hinzugefügt zu erzählen, dass es mir eine Notiz schickt - interessieren sich Sie für das? Stellen Sie eine Erwiderung auf und ich kann die Informationen hier aufstellen.

Vielen Dank.
Gudos wrote:so a friend wrote me a php script to force them to register before they can download.. Previuosly they had to email me a password and username then I would enter it manually into my password folder in Cpanel.
The script wont work now, and I have no clue what to do.
I dont know if its even allowed to post this but if you feel sorry to want to help me I can send you all the other details to my site via PM!!!


Have you considered contacting your friend who wrote the script for assistance?

Essentially, this is saying that it is attempting to get the information to open MySQL from a backup file -
/backup/gilbertm/public_html/user_config.php at about line on line 26
The file it is trying to pull the information from is user_config.php and the error is occurring at (around) line 26.

It seems unusual that the system would be trying to run from a backup directory unless you did an incorrect restore process.
It uploaded fine for me - it's not an image magik problem - However when I arrived, the images were not following the correct path (hence none of the images were showing up on the page at all) - the path for the uploaded images was http://public/... and the path for the other images were http://img/....

When I did a view source of your guestbook page, the image source is incorrectly formatted. img src="//img/sign.gif" It should not have two "/"
it should look more like img src="/img/sign.gif" If you edited your files in the templates, you may have inadvertently added the extra /

Which means that the default path is not being inserted correctly when folks arrive at the guestbook - If you did not edit your files in the templates, then maybe Carbonize or someone else knows how to get it default into the correct directory.... He should be back later today/tomorrow (depending on where you are at, time-wize)
I was reading tonight that phpbb.com (developers of the message board we are using here and now) was hacked via AWStats vulnerability - Let's face it - everything and everyone is vulnerable at some point - we're only able to plug holes as they become obvious and in the meantime its on a wing and a prayer....
Carbonize wrote:And you didn't bother to read the second and third sticky's of this forum because?


Basic human nature - we only read directions if all else fails - isn't it great? LOL
Magic -

If you are still around, I downloaded the Linking Script and can help you tweek it for your site.

The important factor in creating different categories to match your site is to make certain that the pages for each category keep in line with the same names as you use for the value of the category - you have to keep the ffa-pagename.html theme going but you can name the page anything you want. On that page, near the middle you see Make certain to use the same identifier as the pagename between ffa- and .html on that particular page. Each Page will have it's own ffa-pagename.html to match with <!--thepagename -->

Then, on the page where people add their link information, be sure that the value for each category matches that pagename information.

The perl script uses the ffa- and .html to track down all the pages for each category so make certain that you keep the links together in a separate directory like www.myhomepage.com/links/ so that your admin knows where to find the appropriate pages and doesn't confuse it with your other pages on your site.

The script adds the information directly onto the html pages in each category, so once you start it up, make certain to make regular backups of each page so that you have them just in case something fails - plus don't reload the originals back over the links or you will lose all your linking information.

Let me know if you still need help with this.

I ended up revamping to use SSI to clean things up. It's not a bad little script, but not the most sophisticated that I've ever used.
lloyd_borrett wrote:I think ET might have missed something.


I don't think I missed a thing....

bSeen wrote:I'm new to php, and not too savy about the html anyway so I'm left with the question: would I need to exclude robots by entering that code in every file or just some, maybe the url.php file? Thanx,


Which I interpreted was in response to

lloyd_borrett wrote:
Using the META tag

or equivalent robots.txt file entries means the search engines will not index or follow EVERY link on the web page. That's not something I would want to happen with my guestbook pages.

Using the rel="nofollow" option on individual links on web pages means that the search engines are being told not to follow and rank the subject of those specific links.

These are two very different outcomes.

Sure the rel="nofollow" won't stop spam entries getting into my guestbook, but it will help to make those spam entries less beneficial to the spamers. And anything to hinder spamers, in my book, is beneficial.


I'm well aware that rel="nofollow" does not exclude robots - Bseen's post seemed to ask about Excluding Robots and that is what I responded to as it was included in my post and is what bseen SEEMED to have asked about.... LOL OR At least that's what I think bseen asked about - but this thread has gotten so convoluted - I may be confused as to why I even bothered to respond....

But if you choose to read back through my earlier posts in this thread, I think you might see that I comprehend the differences and what they do.... Or not....
Auron wrote:
so that spammers are LESS LIKELY to find your guestbook using a search engine.


Yep!
bSeen wrote:I'm new to php, and not too savy about the html anyway so I'm left with the question: would I need to exclude robots by entering that code in every file or just some, maybe the url.php file? Thanx,


If you are trying to keep the Search Engine robots, (i.e. Google, MSN, Yahoo...) out of your guestbook, you would put the Metatag information with the no follow, no index into the header.php at the very top (directly after <html> and <head> tags)

Again, as pointed out repeatedly, this will not keep out spammer bots - it will only help to make your guestbook not show up in the search engine directories.
Carbonize wrote:And both are total bollocks. This will not stop spamming and I somehow cannot see the nastier bots out there giving a rats arse about robot.txt files nor robots meta tags.


Yep - 89% of spammers don't spam for increased Search Engine Rankings!!!
 
Forum Index » Profile for ET » Messages posted by ET
Go to:   
Based on the open source JForum