» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 83
0 members and 83 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Rimonabant - combat obesity and smoking at the same time
Football Betting - best nfl betting promotions at sportsbook.com.
Poker Chips - Clay and composite poker chips for home games.

Register Now! Contact Us

About this Page
This is a discussion on subBlack3dBlue Guest Image is blank with an X within the Theme packs forums, part of the nukemods releases category; :? :?: How do I add an image for guest posts? I want guest to be able to post hijackthis logs without ...



Go Back   Nukemods Forum » nukemods releases » Theme packs

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-17-2004, 08:21 AM
Junior Member
 
Join Date: Oct 2004
Location: Missouri
Posts: 4
Send a message via Yahoo to submit2s
subBlack3dBlue Guest Image is blank with an X
:? :?: How do I add an image for guest posts? I want guest to be able to post hijackthis logs without filling up my forum with ugly x boxes. I copy the image within and html editor to try and pinpoint the location the file my be where as I can replace, but this was all I got

<img alt src border="0">

The forum is here look how the "x" over guess, when I right-click for a file location, I just get the main url. What can I change to fix this for guest members?

http://hijackthislogs.com/modules.ph...viewtopic&t=18 :?:
__________________
Hijackthislogs.com
Analyzing, Resolving and Restoring your Hijack PC back to health
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-17-2004, 11:34 AM
Moderator
 
Join Date: Sep 2004
Location: Notts, UK
Posts: 330
it doesnt show the red 'X' in firefox but it does in IE.
Sorry i cant help - just pointing that out :P
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-17-2004, 12:13 PM
Junior Member
 
Join Date: Oct 2004
Location: Missouri
Posts: 4
Send a message via Yahoo to submit2s
Are you saying you don't know where this gif file is located? or if it is a gif file that needs to be placed there somewhere? Or perhaps include a file name somewhere in a configure file or something?
__________________
Hijackthislogs.com
Analyzing, Resolving and Restoring your Hijack PC back to health
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-17-2004, 03:39 PM
Moderator
 
Join Date: Oct 2004
Posts: 260
Originally Posted by SiLvEr_SnAkE
it doesnt show the red 'X' in firefox but it does in IE.
Sorry i cant help - just pointing that out :P
Thats why firefox rocks :wink:
I think the guest avatar is called blank.gif, you might wanna read
this
hope it helps :wink:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-17-2004, 03:42 PM
Moderator
 
Join Date: Sep 2004
Location: Notts, UK
Posts: 330
Nar i dont think its that - when you click proporties of the image it just shows the site url i.e www.yoursite.com/ thats it, no image path.
Its odd oo:
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-17-2004, 03:47 PM
Moderator
 
Join Date: Oct 2004
Posts: 260
Quote:
If it doesn't work up to this point then open viewtopic.php and comment out or remove the following lines:

Code:
if ( $poster_id == ANONYMOUS )
{
$poster_avatar = '[img]'.  $images['guest_avatar'] .'[/img]';
 }
That will work.
It's not odd, it's common have seen it in many nuke sites
__________________
read me before posting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-17-2004, 03:56 PM
Moderator
 
Join Date: Sep 2004
Location: Notts, UK
Posts: 330
You learn something everyday :roll:
n1 m8

If it doesnt work also comment this out
Code:
if ( empty($poster_avatar) && $poster_id != ANONYMOUS)
        {
$poster_avatar = '[img]'.  $images['default_avatar'] .'[/img]';
        }
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-17-2004, 05:50 PM
Junior Member
 
Join Date: Oct 2004
Location: Missouri
Posts: 4
Send a message via Yahoo to submit2s
Thanks Guys, I followed the link given by xerox51 (this) which led me to this:


If you allow guest posting in your Forums, then you may want to add this little hack in order for your Guest/Anonymous user to have an assigned default avatar.
To make this work do the following.

open modules/Forums/viewtopic.php
Find this line

I changed

Quote:
Code:
if ( $postrow[$i]['user_avatar_type'] && $poster_id != ANONYMOUS && $postrow[$i]['user_allowavatar'] )
change it to this
Quote:
Code:
if ( $postrow[$i]['user_avatar_type'] && $postrow[$i]['user_allowavatar'] )
Now you need to assign an Avatar to the Anonymous user in the Database.
Go to your Database table _users.
I recommend using phpMyadmin
Browse the users and select the Anonymous. This is usually user_id number 1.
The user_avatar field needs to be changed to whatever.gif (your guest avatar image name) Make sure you upload this Guest Avatar to both the modules/Forums/images/avatars and modules/Forums/images/avatars/gallery folders just in case your pathing is screwy.

If it doesn't work up to this point then open viewtopic.php and comment out or remove the following lines:

and deleted this for it to work

Quote:
Code:
if ( $poster_id == ANONYMOUS )
{
$poster_avatar = '[img]'. $images['guest_avatar'] .'[/img]';
}
Thanks All! :nm:
__________________
Hijackthislogs.com
Analyzing, Resolving and Restoring your Hijack PC back to health
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 10-18-2004, 10:41 AM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
who worte that FAQ? :P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-18-2004, 10:47 AM
Junior Member
 
Join Date: Oct 2004
Location: Missouri
Posts: 4
Send a message via Yahoo to submit2s
I wonder who :wink:

http://www.nukemods.com/modules.php?...ewtopic&t=3245

Thanks Mike
__________________
Hijackthislogs.com
Analyzing, Resolving and Restoring your Hijack PC back to health
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Guest post / icon under assigned avatar kow_patt Open topics 3 02-25-2005 05:14 PM
How do I assign an avatar to a forum guest poster? evapor8 Theme packs 2 07-27-2003 11:04 AM
Assign avatar for Guest or Anonymous mikem FAQ/Fixes 0 07-25-2003 09:54 AM
PHP generated image help, setting bg image? Zathu_Koon Open topics 1 07-24-2003 11:10 AM
KISGB (keep it simple guest book) v5.0 Module Martin Purged Topics 0 01-20-2003 09:14 AM


All times are GMT -5. The time now is 10:35 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31