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

Reply
 
Thread Tools Display Modes
  #21  
Old 05-01-2002, 02:37 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by -=dm=-

1: where to add the code above?
2: How do I see where is the user (the whoisonline part)
1- You should insert the code somewhere in your web template.

Say, you created a new Web Template (an HTML page) and you want this page post "I love users who use my Red Style Sheet and you're one of them!" to only users who are using Red Style Sheet. Simply create your webtemplate like an ordinary HTML page, then in the place where you want this text posted insert this code:

[[($bbuserinfo['styleid']==X)]]
"I love users who use my Red Style Sheet and you're one of them!"
[[/($bbuserinfo['styleid']==X)]]

While your webtemplate is loaded, the script will check if the viewer's styleid=X and if yes this text will be posted, else it will not..

2- When your users view a webtemplate, they can be monitored in the "Who is Online". However their location is raw, not in a formatted text. (Anyway you can understand in which webtemplate they are).

I would improve this section of the hack with the next release, however I am not sure if I'll code any other releases any more..

Honestly I thought this hack is something that many people can use and benefit, but 1.5 half months passed and only 12 people installed the hack. Seems I was wrong so I think it's not worth spending times to improve it.

Regards,
Logician
Reply With Quote
  #22  
Old 05-02-2002, 07:55 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Wildthinks
- oohh my god.... I have a idea ... I will query only the first Post of every thread and user can answer normally ?!?
if you do this, you will end up with 150queries on that page. i made the same mistake with vbHome (lite). is now corrected in the full version. and it does have the comments separated...
Reply With Quote
  #23  
Old 05-02-2002, 11:01 AM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx

Quote:
Honestly I thought this hack is something that many people can use and benefit, but 1.5 half months passed and only 12 people installed the hack. Seems I was wrong so I think it's not worth spending times to improve it.
thats strange only 12 have installed this, cuz this hack is one of the best in my opinion, also easy to install and still advanced hack...why is this still in beta section?
Reply With Quote
  #24  
Old 05-02-2002, 12:09 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by -=dm=-
why is this still in beta section?
Same reason: The hack had no problems here when I published it. But I posted it in the BETA section anyway, because it has a complicated coding and I wanted some feedback and be sure it has no bugs. Unfortunately I received none. So it stays there..

Thx for the nice comments though..
Reply With Quote
  #25  
Old 05-02-2002, 01:30 PM
Wildthinks's Avatar
Wildthinks Wildthinks is offline
 
Join Date: Apr 2002
Location: .:BeRLiN:.
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician

Same reason: The hack had no problems here when I published it. But I posted it in the BETA section anyway, because it has a complicated coding and I wanted some feedback and be sure it has no bugs. Unfortunately I received none. So it stays there..

Thx for the nice comments though..
Your WT works very fine and is cool stuff, IMHO is it a cool "light" CMS and I'm happy that I can use it and you share it with us. It's very great...
Reply With Quote
  #26  
Old 05-02-2002, 01:37 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Logician

Same reason: The hack had no problems here when I published it. But I posted it in the BETA section anyway, because it has a complicated coding and I wanted some feedback and be sure it has no bugs. Unfortunately I received none. So it stays there..

Thx for the nice comments though..
Perhaps the fact that it is in the beta section is putting people of as they think it could mess up there board, the people who have insalled it know its stable but other users may still consider it risky.

Thats just my $0.02 worth.
Reply With Quote
  #27  
Old 05-02-2002, 02:07 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR

Perhaps the fact that it is in the beta section is putting people of as they think it could mess up there board, the people who have insalled it know its stable but other users may still consider it risky.
Yep, you may have a point..
Reply With Quote
  #28  
Old 05-02-2002, 08:43 PM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry Logician Im a newbie I cant giv ya the feedback u need, but I can tell ya that, its runing fine on my testboard and I love it and u r damn good to giv dummie instructions lately there is only 2 hcak which impressed the vBindex and this TemplateHack.
I hope I can use it with the v3 when its out otherwise Im not going to upgrade to v3
Reply With Quote
  #29  
Old 05-02-2002, 08:53 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by -=dm=-
I hope I can use it with the v3 when its out otherwise Im not going to upgrade to v3
I have a feeling this isn't going 2 work with vB3, I think thats says it all about what -=dm=- thinks about this hack
Reply With Quote
  #30  
Old 05-02-2002, 09:13 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NTLDR

I have a feeling this isn't going 2 work with vB3, I think thats says it all about what -=dm=- thinks about this hack
-=dm=-'s comment is so nice and flattering that it's now impossible not to convert it to vb3. :laugh: (thx btw!)

In fact I cant see any reason that it will not work with VB3. The script what does the real job is independent from the vbcode. So even if they change the all code, I think it will keep on working provided that "global.php" file structure is same. Anyway I think there will no clash between vb3 and this hack that I cant fix..
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 02:21 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.04658 seconds
  • Memory Usage 2,287KB
  • 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
  • (9)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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