Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #41  
Old 07-14-2001, 03:48 PM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

correct not at all they were off some of them by 20 or 30 line numbers.
Reply With Quote
  #42  
Old 07-14-2001, 04:43 PM
Christian Christian is offline
 
Join Date: Nov 2001
Location: wuerzburg.germany.earth
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's exactly what I have done, given the correct line numbers!
Reply With Quote
  #43  
Old 07-14-2001, 09:33 PM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how would you go about making other pages. so if i had a page called contacts.php and it was linked with vb through global.php, how could i make it say viewing: contacts and stuff likethat. so basicly define what a file is.
Reply With Quote
  #44  
Old 07-15-2001, 02:41 AM
webhost's Avatar
webhost webhost is offline
 
Join Date: Oct 2001
Location: St. Louis
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hack working great!!

Question; How hard would it be to add under the pm column for guest some kind of instant message for the guest's. Some kind of link that a member could click on and send the guest a message while they are browsing?

The other question I have is if a person has a chat room how hard would be to place a link on the online page to that chat room. Would it be as easy as adding the neccessary script to the online.template?
Reply With Quote
  #45  
Old 07-15-2001, 06:49 AM
Dakota's Avatar
Dakota Dakota is offline
 
Join Date: Oct 2001
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, but I have noticed afew bugs.

I haven't changed anything btw. Some members will show up 2-3 times. Also when someone is replying to a thread it just says "Replying:", and there are alot of unknowns.

Edit: I would also like to know if there is a way I could make it say Live chat or something like that when someone is using the chat room.

Ok well I found that alot of the unknowns are when people are looking at attachments.
Reply With Quote
  #46  
Old 07-15-2001, 12:34 PM
Christian Christian is offline
 
Join Date: Nov 2001
Location: wuerzburg.germany.earth
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These people use a proxy server most time then!

Some ISPs configure their proxies really bad! Then a double entry comes!
Reply With Quote
  #47  
Old 07-15-2001, 04:01 PM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you'd like to add another script to be displayed properly just make sure that script requires global.php and then add another elsif to the online.php like this

PHP Code:
} elseif (strstr($location,"attachment.php")) {
$locationtitle="Viewing an Attachment";
$location=""
attachment.php is the script you are looking for. can be a partial match. you can even just look for an pices of the url like "action=chat" or something.

$locationtitle is what it will say

$location is optional. if you don't put anything, it uses the url saved in the sessions table. in this example I blanked the url out so someone doesn't click right thru to the attachment.


-----------------

I've added some more stuff like options to show profile icons or avatars
$PMLine $AvLine $EmailLine $IcqLine $AimLine $HomepageLine $YahooLine

while making it break up long lists into multiple pages, I've decided to have it build an array and then read it so I can resort the list however you want. I'll sort it by time but you'll be able to change it to whatever. when I get that next step done, I'll upload it again.
Reply With Quote
  #48  
Old 07-15-2001, 10:24 PM
Dakota's Avatar
Dakota Dakota is offline
 
Join Date: Oct 2001
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, its working great.
Reply With Quote
  #49  
Old 07-16-2001, 12:46 AM
chris frolic chris frolic is offline
 
Join Date: Jan 2002
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I know this is WAAAY beyond the scope of this script but I was wondering if someone might be able to give me some advice.

I'm currently running Vbportal as my front page so it makes Who's Online even more useful since it will show where people are anywhere on my site, not just limited to my message board.

I also have my chatroom integrated with vB and Who's Online will show that person as in the chatroom when chat.php is being run.

Now, since it's already doing that it occured to me that it must be possible to add a feature to my front page stating:

Users in Chatroom: 3 or something as an alert for other users to join in.

I imagine I could somehow canabalize the Who's Online code and add it to my index.php for this purpose.

This is well beyond my grasp of PHP unfortunately, so would anyone have any suggestions as to where I could begin?

thanks.
Reply With Quote
  #50  
Old 07-16-2001, 02:45 AM
Mutt's Avatar
Mutt Mutt is offline
 
Join Date: Nov 2001
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i had this for my ubb who's online and it wouldn't be a big deal to do it here either. I would want this too. when I get a cleaner version ready, I'll give ya some directions. let me know what chat room you are using and what hack if any.
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 08:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07562 seconds
  • Memory Usage 2,269KB
  • Queries Executed 14 (?)
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
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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