Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > nukemods releases > Theme packs

Reply
 
LinkBack Thread Tools Display Modes
subBlack3dBlue Guest Image is blank with an X
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Oct 2004
Location: Missouri
subBlack3dBlue Guest Image is blank with an X - 10-17-2004, 09:21 AM

:? :?: 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
  Send a message via Yahoo to submit2s  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 330
Join Date: Sep 2004
Location: Notts, UK
10-17-2004, 12:34 PM

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
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Oct 2004
Location: Missouri
10-17-2004, 01:13 PM

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
  Send a message via Yahoo to submit2s  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 260
Join Date: Oct 2004
10-17-2004, 04:39 PM

Quote:
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
Old
  (#5 (permalink))
Moderator
 
Status: Offline
Posts: 330
Join Date: Sep 2004
Location: Notts, UK
10-17-2004, 04:42 PM

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
Old
  (#6 (permalink))
Moderator
 
Status: Offline
Posts: 260
Join Date: Oct 2004
10-17-2004, 04:47 PM

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
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Moderator
 
Status: Offline
Posts: 330
Join Date: Sep 2004
Location: Notts, UK
10-17-2004, 04:56 PM

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
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Oct 2004
Location: Missouri
10-17-2004, 06:50 PM

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
  Send a message via Yahoo to submit2s  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
10-18-2004, 11:41 AM

who worte that FAQ? :P
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Oct 2004
Location: Missouri
10-18-2004, 11:47 AM

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
  Send a message via Yahoo to submit2s  
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
Assign avatar for Guest or Anonymous mikem FAQ/Fixes 2 01-25-2012 06:52 PM
Guest post / icon under assigned avatar kow_patt Open topics 3 02-25-2005 06:14 PM
How do I assign an avatar to a forum guest poster? evapor8 Theme packs 2 07-27-2003 12:04 PM
PHP generated image help, setting bg image? Zathu_Koon Open topics 1 07-24-2003 12:10 PM
KISGB (keep it simple guest book) v5.0 Module Martin Purged Topics 0 01-20-2003 10:14 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.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