Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Profile Tagboard (a tagboard in every user's profiles) Details »»
Profile Tagboard (a tagboard in every user's profiles)
Version: 1.00, by The_Wanderer The_Wanderer is offline
Developer Last Online: Oct 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-15-2003 Last Update: Never Installs: 36
 
No support by the author.

hmm.. I dont think this has been released before.. or at least i couldn't find it.

so, here we go

sql queries to run: 1
file edits: 1
template edits: 1 and 3 new templates

the hack adds a tagboard to every user's profile. There's not much more to tell about it, really. It's made so only members of your forum can post in the tagboard, of course
uhm.. the standard version of the tagboard only shows the 10 newest messages, but you can easily change it.
just find:

Quote:
("SELECT * FROM profiletagboard WHERE touserid='$userinfo[userid]' ORDER BY id DESC LIMIT 10")
and change the LIMIT to whatever you want.. (i might add a "show all messages" in the next version)

I might add more stuff in future versions. Like edit buttons, delete buttons and whatever I can come up with..any suggestions are welcome

v1.1 Upgrade:
HTML has been disabled
You can now edit/delete messages
The tagboard owner can now delete messages in his/her board
You can now show all your messages

Total Files to edit: 1
Total Templates to edit: 1 and 9 new templates
Total sql queries to run: 1

v1.2 Upgrade:
Smilies in messages have been enabled
bbcode has been enabled
fewer queries

Total Files to edit: 1
Total Templates to edit: 1 and 9 new templates
Total sql queries to run: 1

Screenshots:
1
2
3
4
5 (before v1.2)
6 (after v1.2)

Live Demo:
Not available

oh.. and remember to click Install, if you install

Show Your Support

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

Comments
  #122  
Old 06-18-2003, 12:45 PM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that shouldnt be a problem...

FIND:
PHP Code:
SELECT 
  user
.avatarid AS a_id,
  
avatar.avatarpath AS a_path,
  
customavatar.userid AS c_id,
  
customavatar.dateline AS dateline,
  
profiletagboard.msg AS msg,
  
profiletagboard.fromuserid AS fromuserid,
  
profiletagboard.touserid AS touserid,
  
user.username AS username,
  
user.userid AS userid,
  
user.usertitle AS title,
  
profiletagboard.id AS id 


  FROM avatar
,customavatar,profiletagboard

  LEFT JOIN user ON user
.userid=profiletagboard.fromuserid

  WHERE 
  touserid
='$userinfo[userid]' AND user.avatarid=avatar.avatarid 
  
OR touserid='$userinfo[userid]' AND user.avatarid='0' AND user.userid=customavatar.userid
  
OR touserid='$userinfo[userid]' AND user.avatarid='0' AND user.userid!=customavatar.userid

  GROUP BY msg ORDER BY id DESC 
and replace with: (2 times)

PHP Code:
SELECT 
  profiletagboard
.msg AS msg,
  
profiletagboard.fromuserid AS fromuserid,
  
profiletagboard.touserid AS touserid,
  
user.username AS username,
  
user.userid AS userid,
  
user.usertitle AS title,
  
profiletagboard.id AS id 


  FROM profiletagboard

  LEFT JOIN user ON user
.userid=profiletagboard.fromuserid

  WHERE 
  touserid
='$userinfo[userid]' 
  
GROUP BY msg ORDER BY id DESC 
FIND and delete: (2 times)
PHP Code:
if ($result[a_id] == "0" AND $result[c_id] == "$result[userid]") {
    
$tbavatar="avatar.php?userid=$result[userid]&dateline=$result[dateline]";
    };
    if (
$result[a_id] == "0" AND $result[c_id] != "$result[userid]") {
    
$tbavatar="avatar.php?userid=$result[userid]&dateline=$result[dateline]";
    };
    if (
$result[a_id] != "0") {
    
$tbavatar="$result[a_path]";
    }; 
I haven't tested this but i think it works
Reply With Quote
  #123  
Old 06-18-2003, 06:38 PM
Kaelon's Avatar
Kaelon Kaelon is offline
 
Join Date: Jan 2002
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That works great, The_Wanderer, thanks! One more thing, though - to completely remove avatars, you'll want to eliminate the <img src> in the appropriate templates for the Tagboard.

Again, very nice hack!
Reply With Quote
  #124  
Old 06-18-2003, 07:45 PM
StealthAnime StealthAnime is offline
 
Join Date: Apr 2002
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

really really nice, kinda list an instant PM IM thing i like, ima install
Reply With Quote
  #125  
Old 06-19-2003, 10:27 AM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 08:38 PM Kaelon said this in Post #122
That works great, The_Wanderer, thanks! One more thing, though - to completely remove avatars, you'll want to eliminate the <img src> in the appropriate templates for the Tagboard.

Again, very nice hack!
oh yeah the templates, of course! I knew there was something i forgot
Reply With Quote
  #126  
Old 08-10-2003, 12:50 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

was wondering if u could add vbcode buttons + Smileys to the message entry form
Reply With Quote
  #127  
Old 08-10-2003, 08:42 PM
The_Wanderer's Avatar
The_Wanderer The_Wanderer is offline
 
Join Date: Dec 2002
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I could try.. I'm just really busy, so I can't really promise anything..
Reply With Quote
  #128  
Old 08-21-2003, 03:27 AM
Phoenix_Fighter Phoenix_Fighter is offline
 
Join Date: Apr 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this hack and i tried to test it out everything worked great cept the message didnt show up i checked all the templates everything was there i use Zajako and Storm's RPG Creator System and i run vB 2.3.0....i dont know what possibly could be wrong
Reply With Quote
  #129  
Old 08-24-2003, 04:24 PM
Boh's Avatar
Boh Boh is offline
 
Join Date: Aug 2003
Location: Warwick, RI, USA
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah uh... I installed it... and I don't get any errors or anything, but it doesn't work when I try to tag
Reply With Quote
  #130  
Old 08-25-2003, 11:27 PM
narulure's Avatar
narulure narulure is offline
 
Join Date: Jan 2003
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im getting the same sort of problem. I hope this can be fixed ^^
Reply With Quote
  #131  
Old 08-29-2003, 09:29 AM
Tae-Hwan Tae-Hwan is offline
 
Join Date: May 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ i'm getting the same problems as everyone else. i think this has to do with mysql settings or something.
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:23 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.10241 seconds
  • Memory Usage 2,335KB
  • Queries Executed 27 (?)
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
  • (3)bbcode_php
  • (2)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
  • (1)pagenav_pagelinkrel
  • (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_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_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