Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by tubedogg tubedogg is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-22-2001 Last Update: Never Installs: 70
 
No support by the author.

This one is a request from JJR512. It shows, in the user's publicly-accesible profile (member.php?action=getinfo), how many threads that user has started.



Hack version: 0.0.2

For version: 2.0.0 Final

Files needed: memberadd.txt, getinfoadd.txt

Files to edit: member.php

Templates to edit: getinfo

Instructions
1] Open memberadd.txt from the zip file in a text editor.

2] In member.php, find (around line 1193)
Code:
     eval("\$birthday = \"".gettemplate("getinfo_birthday")."\";");
  }
Directly below this, add the contents of memberadd.txt

3] Upload member.php to your web server.

4] Open getinfoadd.txt from the zip file in a text editor.

4] In the template getinfo, find

Code:
<tr bgcolor="#F1F1F1"><td>
<normalfont><B>Total Posts:</B></normalfont></td>
<td><normalfont>$userinfo[posts] ($postsperday posts per day)</normalfont>
</td></tr>
Directly below this, add the contents of the getinfoadd.txt file.

5] Save the template.

6]To test it out, go to http://path/to/your/forums/member.ph...tinfo&userid=5

Instructions are also included in the zip file (threadsstarted.txt).

FEEDBACK WANTED! Likes/dislikes/modification requests all accepted.

Please DO NOT conact me via AIM, ICQ, PM, or email about this hack. Post your question/problem here and I will try to help you.

Show Your Support

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

Comments
  #52  
Old 06-19-2001, 07:27 PM
kdog316
Guest
 
Posts: n/a
Default

I got it to work its pretty cool heres the link to it http://tmbps.allaroundsite.com/membe...ter&forumid=28 this shows you how many threads they have started and then it tells you the toatal threads there are in on the board.
Reply With Quote
  #53  
Old 07-29-2001, 08:15 AM
TripleH
Guest
 
Posts: n/a
Default

tubedogg,
can you please help me witht something?
I am trying to get this to show in the postbit template so it shows undernaeath the eprsonal views, and total post,
but i cna't get it to work,,. can you instruct me how to do this>?

thanks

HHH
Reply With Quote
  #54  
Old 08-04-2001, 11:54 AM
almighty one
Guest
 
Posts: n/a
Default

hey i ahd this installed before and it worked fine but now on 2.03 it shows the threads started in profile but doesnt sahow a # it is just bl;ak i did an update counters etc can soemone tell me the prob here
Reply With Quote
  #55  
Old 08-04-2001, 02:37 PM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to put the code for this hack into the new member.php file. Part of this hack is some code that you insert into that file. When you upgraded to 2.0.3, that file was overwritten with a clean, unhacked version. You still see the "Threads started" in a person's profile because that bit of the hack is in a template, which does not get overwritten in an upgrade. But as you noticed, it says "Threads started", but there is no number, because the code that generates the number is gone.
Reply With Quote
  #56  
Old 08-04-2001, 05:22 PM
TripleH
Guest
 
Posts: n/a
Default

Anbyone know a solution to my problem???

HHH
Reply With Quote
  #57  
Old 08-04-2001, 07:55 PM
almighty one
Guest
 
Posts: n/a
Default

Quote:
Originally posted by JJR512
You need to put the code for this hack into the new member.php file. Part of this hack is some code that you insert into that file. When you upgraded to 2.0.3, that file was overwritten with a clean, unhacked version. You still see the "Threads started" in a person's profile because that bit of the hack is in a template, which does not get overwritten in an upgrade. But as you noticed, it says "Threads started", but there is no number, because the code that generates the number is gone.
man i know hacks get overwriten im not stupid but it still wont work if i use the 2.03 memebrphp but if i run the old memebr php from 2.02 it works fine i insstalled the hack 3 times in memebr php for 2.03 but c not get it to work
Reply With Quote
  #58  
Old 08-05-2001, 03:53 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I never said you were stupid. So please don't expect an apology. I've seen enough instances where people didn't realize that hacks get overwritten that it comes to be my first thought in this type of situation. You know, similar to the old cliche of "My computer doesn't work!"..."Well, is it plugged in?" OK?

So I will say I'm sorry I can't help you. It works fine for me on 2.0.3.
Reply With Quote
  #59  
Old 08-07-2001, 02:12 PM
jasmith
Guest
 
Posts: n/a
Default

im using 2.0.1 and I have the same problem... where it should tell howmany posts... its just blank.
Reply With Quote
  #60  
Old 09-04-2001, 08:00 AM
Generics's Avatar
Generics Generics is offline
 
Join Date: Mar 2002
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi i am new in vbb and tried to add the hack ... i have done like the txt said but i only see in teh profil thread started but no number how many threads that are someone knowing where the error is ?? i use vbb 2.0.3
Reply With Quote
  #61  
Old 09-05-2001, 03:57 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack has a problem with users names that have a ' in the name. Take a look at the help FireFly gave to fix the problem in this thread: http://www.vbulletin.com/forum/showt...072#post167266
Reply With Quote
Reply

Thread Tools

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 01:47 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.07574 seconds
  • Memory Usage 2,287KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (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
  • (4)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
  • (5)postbit_onlinestatus
  • (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
  • 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