Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-25-2000 Last Update: Never Installs: 0
 
No support by the author.

This is the Dot Hack:



The point of the hack is that it will place a dot on each thread that you have posted in. I think it is a great hack, what do you think?

I would like to release it but you have to modify the search index function and update the threadindex field for every user. If John wants to include it in the new version I will send him the code and give him hints on how to make the threadindex and search by user functions more robust, as I have done.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-25-2000, 08:45 PM
Guest
 
Posts: n/a
Default

I can do that but it would have nothing to do with the dot hack. I will see about giving you code that will achive what you want. Just add it to my long list of stuff to do.

Should be able to just do a left join with the fav_threads table to achieve what you want. You will have to create the glowing icons though.
Reply With Quote
  #13  
Old 10-25-2000, 11:14 PM
Guest
 
Posts: n/a
Default

How are you determining if the user's posted in it?

Splitting up the data with explode, and cycling through with a loop?
If so, you might want to look into strpos or strstr for a more optimized solution.
Reply With Quote
  #14  
Old 10-26-2000, 12:18 AM
Guest
 
Posts: n/a
Default

I forget, let me check ...

yes strpos of ",username," as I used commas to delimit the threadindex.

Otherwise if you have a user named "joe" and "joe blow", doing a strpos of " joe " will return true if "joe blow" is in the index with its current usage of a space as a delimiter.
Reply With Quote
  #15  
Old 10-26-2000, 12:27 AM
Guest
 
Posts: n/a
Default

Great, nice and optimized
Reply With Quote
  #16  
Old 10-26-2000, 03:07 PM
Guest
 
Posts: n/a
Default

Just a thought, but wouldn't adding the User ID to the query instead of using the username be more reliable?
Reply With Quote
  #17  
Old 10-26-2000, 05:37 PM
Guest
 
Posts: n/a
Default

peter you don't fully grasp what is going on as I would be the last person to ever use a username in a query.

Threads already contain an index of the users in the table. So I saved doing a query on the post table to see who has posted in a particular thread by just using the index that is already available to me, hence the matching of names.
Reply With Quote
  #18  
Old 10-26-2000, 05:49 PM
Guest
 
Posts: n/a
Default

Ah, well.
Reply With Quote
  #19  
Old 10-29-2000, 05:06 PM
Guest
 
Posts: n/a
Default

any luck in getting john to change this for version 2.0? another great hack i would like.
Reply With Quote
  #20  
Old 10-30-2000, 02:14 AM
Guest
 
Posts: n/a
Default

I have no clue Chris, as I have said, I have no contact with Jelsoft. There does exist a bug since you cannot use a space delimiter when the data itself may contain spaces. Mike/Ed has said all "known" bugs have been fixed in 1.1.4 so perhaps they have changed the delimiter, if not then all known bugs haven't been fixed.

I made a bug report about this maybe 4 months ago but only in the last 1-2 months have I come to known vBulletin in and out so it became obvious to me what the problem is.
Reply With Quote
  #21  
Old 10-30-2000, 10:25 AM
Guest
 
Posts: n/a
Default

ok cool. We can but wait
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 04:27 AM.


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.04336 seconds
  • Memory Usage 2,271KB
  • Queries Executed 25 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)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
  • 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