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: Brianr
Forum Index » Profile for Brianr » Messages posted by Brianr
Author Message
I've been using a version of AG 2.3 with human verification for quite a while and it works great.

Recently I've begun to notice hundreds of hits to addentry.php of one of the guestbooks from all different IP's. Nothing gets posted and I'm assuming it's some type of bot.

Just curious if anyone else has experienced something similar or if someone can enlighten me as to what it is.
Open body.php and look around lines 4 and 5


<td width="56%"><img src="$GB_PG[base_url]/img/gbook.gif" width="140" height="15"></td>
<td width="44%" align="right" class="font2"><img src="$GB_PG[base_url]/img/signing.gif" width="90" height="30" border="0">


The gbook.gif and signing.gif image tags are what you want to remove or comment out
This is the default CSS that came with the guestbook I have

<style type="text/css">
<!--
.font1 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_1]; color: $VARS[text_color] }
.font2 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_2]; color: $VARS[text_color] }
.font3 { font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt; color: $VARS[text_color]; font-weight: bold}
.select { font-family: $VARS[font_face]; font-size: 9pt}
.input { font-family: $VARS[font_face]; font-size: 9pt}
-->
</style>

Now, this is for version 2.3, but I think it's the same for 2.2
Just copy and paste it within the head tags of header.php and success.php

Depending on what you set your text colour to in the Admin section you still may have a problem with the dark text on the dark backround. You can override it by assigning a colour to the class

.font2 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_2]; color: #FFFFFF }


That may lead to another problem if .font2 is assigned to text that appears on a light background elsewhere. Not sure if that's the case, though.
Normally I would say you could change the CSS class in header.php and success.php, but for some reason you don't have a CSS section in either.

Did you delete it? Because that means none of the classes assigned in the guestbook are referencing anything.

If you don't reinstate it, then you could change still chane the colours it by adding font tags to the various lines lines in body.php
Here you can leave your mark.


is in english.php - BookMess6

Guestbook


if it's what I think you're referring to it is an image. You'll find that in body.php about line 4

Total Records: 1 Records Viewed Per Page


also in english.php under the Navigation Bar section

The class for all of those is assigned as font2. The colour should be the same as your text and that's assigned in Administration | Style. If you can't solve the problem, post the URL to your guestbook and I'll see what I can find.
Glad it helped. It's not difficult to miss some tags when there are so many tables.

Do i like owe you a kidney now??


We'll see, we'll see
Just noticed your 3rd column isn't aligned to the top either.

That means my orignial correction placed the missing tags in the wrong spot

Look for this in the code; it's at the bottom of the poll


</form>

</table>
</td>
</tr>
</table></td>
</tr>

</table>
<table width="204" height="158" border="0" cellpadding="0" cellspacing="0">


Change it to


</form>

</td></tr>

</table>
</td>
</tr>
</table></td>
</tr>

</table>


</td></tr></table>


<table width="204" height="158" border="0" cellpadding="0" cellspacing="0">
I noticed that you're missing a </a> tag in your menu

<td width="90" valign="baseline"><a href="#" onClick="MyWindow39=window.open('media.html','MyWindow','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600,left=20,top=20'); return false;" ><img src="images/mediabutton.gif" width="90" height="30" border=" 0"></a></td>


There are others missing in the links to:

mountcarmel.html
world.html
zion.html
You're missing some closing tags

- see corrected code two posts down -
Check here

http://proxy2.de/forum/viewtopic.php?t=3315
You can make the change in com.php

At about line 4 you should see

<font size="1" face="Verdana, Arial, Helvetica, sans-serif">


Add your colour attribute to that tag. If you don't like the size of the text you can change that as well.
You could also add it to the css in header.php and success.php
See the third post in this topic

http://proxy2.de/forum/viewtopic.php?t=1440
I've used

http://www.hcidata.com/host2ip.htm
Couple of questions.

Are you naming your new graphic gbook.gif or are you naming it something else?

Are you uploading it into the right directory?
 
Forum Index » Profile for Brianr » Messages posted by Brianr
Go to:   
Based on the open source JForum