Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 10-03-2001, 08:24 PM
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
Location: Brisbane, Australia
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by freddie
eva yes it will happen.

Some enterprising souls like to post attachments and then refer to them in their signatures. If you have users on your forums doing this, you should stop the practice. It can have a noticeable performance hit on your server in bandwidth and in cpu usage.
man i'm getting slow at catching replies

i have img tag off in sigs only smilies are allowed.. but then again i have sigs off hehe
Reply With Quote
  #12  
Old 10-05-2001, 05:10 AM
Karas Karas is offline
 
Join Date: Mar 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In light of that avatar hack...I just want to get a "feel" if this would be possible....would there be a way that a user could personally disable their avatar for a single post, without having to disable them totally?

My site uses avatars that are 130x280...so to turn them off would not be viable...I know they are long and it'd be easier to just say "redo the art.." heh...but say a poster wants to make a short post and not make all that blank space...what would the possibility be of making some check box to disable the avatar for a post / thread?

Alot of my ppl (as you know since you were the one to move our threads.. Thanks!) are ex Ez Board refugees..so they got used to some creature comforts like that, and the ability to mark individual forums as read (wish that could be done too..sigh).

Thanks for any help!
Reply With Quote
  #13  
Old 10-17-2001, 09:27 PM
Kamran Kamran is offline
 
Join Date: Sep 2002
Location: Bucks, UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I started on this, and then when I started to edit functions.php, my comp froze, so I had to restart.

When I looked at it again, it was all blank, and my forums now say:

Fatal error: Call to undefined function: getuserinfo() in /home/talkwres/public_html/forum/admin/sessions.php on line 327

Can I just upload functions.php again - or would I have to edit it?

(I never installed it in the first place, so not sure what to do)

thx

Kam
Reply With Quote
  #14  
Old 10-17-2001, 10:20 PM
Kamran Kamran is offline
 
Join Date: Sep 2002
Location: Bucks, UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uploaded the old one, and it now said:

Parse error: parse error in /home/talkwres/public_html/forum/admin/functions.php on line 1874

Warning: Cannot add header information - headers already sent by (output started at /home/talkwres/public_html/forum/admin/functions.php:1874) in /home/talkwres/public_html/forum/admin/functions.php on line 1459

Fatal error: Call to undefined function: makelogincode() in /home/talkwres/public_html/forum/global.php on line 311
Reply With Quote
  #15  
Old 10-17-2001, 11:19 PM
Inzagi Inzagi is offline
 
Join Date: Nov 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really think that these hack was made for vB 1...
and not for the 2 version..

So it's clear why it is not working ..

By the way: Why do want to have this hack ?
I think it's already in vB 2 , as you can chose to URL to a certain avatar.
Reply With Quote
  #16  
Old 10-17-2001, 11:24 PM
Kamran Kamran is offline
 
Join Date: Sep 2002
Location: Bucks, UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Users can link to an image - but it puts that image on your server.
Reply With Quote
  #17  
Old 10-18-2001, 09:27 PM
Kamran Kamran is offline
 
Join Date: Sep 2002
Location: Bucks, UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by freddie
You would have to hack a bit. Disable avatars and rename a custom profile field to "Avatar". The user than types in the url to the avatar and you put $userinfo[field7] (or whatever is may be) in the postbit template. Than in the getpostbit function in functions.php you would have to add something like:

if ($userinfo[field7]) {
$userinfo[field7] = "<img src='$userinfo[field7]' border='0'>";
}
Hi,

How do you work out what field number it is?

thx

Kam
Reply With Quote
  #18  
Old 10-19-2001, 06:45 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hover it in the Custom Profile Fields screen, and see the ID in the status bar.
Reply With Quote
  #19  
Old 10-19-2001, 03:10 PM
Kamran Kamran is offline
 
Join Date: Sep 2002
Location: Bucks, UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx Firefly,

So does this look right:


// ###################### Start buildpostbit #######################
function getpostbit($post) {
// sorts through all the stuff to return the postbit template

// user
global $bbuserinfo,$ignore;
// showthread
global $counter,$firstnew,$sigcache,$highlight,$postid,$f orum;
// global options
global $showdeficon,$showonline,$displayemails,$enablepms ,$allowsignatures,$wordwrap,$dateformat,$timeforma t,$logip,$replacewords,$postsperday,$avatarenabled ,$registereddateformat,$viewattachedimages;

if ($userinfo[field5]) {
$userinfo[field5] = "<img src='$userinfo[field5]' border='0'>";
}
if ($counter%2==0) {
$post[backcolor]="#F1F1F1";
$post[bgclass] = "alt1";
} else {
$post[backcolor]="#DFDFDF";
$post[bgclass] = "alt2";
}
Reply With Quote
  #20  
Old 10-19-2001, 06:22 PM
Kamran Kamran is offline
 
Join Date: Sep 2002
Location: Bucks, UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I tried it, but when someone puts a url in the avatar field, it just shows the url under the username, not the image.

You can see an example here (Dreamer's post):

http://www.talkwrestlingonline.com/f...id=956#post956
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:25 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06007 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete