Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Give Your Users a Custom Page on Your Site Details »»
Give Your Users a Custom Page on Your Site
Version: 1.2.2, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 07-09-2005 Last Update: 11-26-2005 Installs: 504
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

This Extension for Vbulletin 3.5 offers forum members the ability to create a custom profile page (or pages) on your site.

Current Features
  • List of Members with Personal Pages
  • Individual Shoutbox/Guestbook on Each User's Personal Page
  • An Archive of "Shouts" for Each User
  • Moderators Can Delete Offensive Shouts
  • Moderators Can Delete Personal Pages
  • Users Can Report Offensive Pages
  • Tracks Page Views to Each Personal Page
  • Indicates When the Page Was Last Updated
  • Usergroup based permissions
  • Uses the VBulletin Editors. Understands BBCode and HTML.

Planned Features
  • Show Users Currently Browsing User Pages
  • Allow Users to Have More Than One Page
  • Allow Users to Upload Files
  • A File Manager for User Pages
  • The Ability to Search User Page Content
  • Links to Featured User Pages on Forum Home

FAQ
  1. How do I configure what forum report threads should go to?
    At the top of userpage.php, there are several clearly documented variables that you can edit. One of these establishes the forumid that you want reported pages to be reported to.

Demonstration
http://www.eaforums.com/forums/userpage.php?do=list
http://www.eaforums.com/forums/userpage/amykhar.html
http://www.eaforums.com/forums/userp...inkerlady.html

Updates: https://vborg.vbsupport.ru/showpost....&postcount=970

-------------
This hack will always be free, however your donations are kindly accepted and will help towards further development. If you donate, please leave me some info (either your forum site or username at vB.org) so that I can thank you.

Supporters / CoAuthors

Show Your Support

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

Comments
  #1062  
Old 04-22-2006, 10:04 AM
demios demios is offline
 
Join Date: Mar 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed that the userpage list was filled with empty pages. I changed two lines so that it only lists pages that have some pagedata.

first change line 530 of userpage.php

Original code
PHP Code:
FROM " . TABLE_PREFIX . "userpage 
Modified code ( the '' at the end it two ' symbols NOT a single " )
PHP Code:
FROM " . TABLE_PREFIX . "userpage WHERE pagedata <> '' 
second change line 584 of userpage.php

Original code
PHP Code:
$users $db->query_read("SELECT * FROM " TABLE_PREFIX "userpage ORDER BY username ASC LIMIT $limitlower,$perpage"); 
Modified code
PHP Code:
$users $db->query_read("SELECT * FROM " TABLE_PREFIX "userpage WHERE pagedata <> '' ORDER BY username ASC LIMIT $limitlower,$perpage"); 
Reply With Quote
  #1063  
Old 04-22-2006, 05:40 PM
dwbro1's Avatar
dwbro1 dwbro1 is offline
 
Join Date: Apr 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These changes just gave me a blank page.. sorry..
Reply With Quote
  #1064  
Old 04-22-2006, 07:57 PM
demios demios is offline
 
Join Date: Mar 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dwbro1
These changes just gave me a blank page.. sorry..
I have made the post easier to read now.

Cut and Paste the lines or just add the

WHERE pagedata <>''

sections
Reply With Quote
  #1065  
Old 04-22-2006, 08:38 PM
Insert Username Insert Username is offline
 
Join Date: Feb 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, demion! Fantastic change to the code. Keeps me from having to go through all the time and delete blank pages.
Reply With Quote
  #1066  
Old 04-23-2006, 02:09 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did everything it said to upgrade from 1.0.1 to this version, it seemed to go fine, yet in my list of products it still says im on ver 1.0.1
Reply With Quote
  #1067  
Old 04-23-2006, 02:23 AM
dwbro1's Avatar
dwbro1 dwbro1 is offline
 
Join Date: Apr 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well not getting blank page anymore but still showing the other users in the list. Something else must be causing them to think there is info there. Here is link you can see.

http://thebluelodge.org/forums/userpage.php
Reply With Quote
  #1068  
Old 04-23-2006, 11:50 AM
Nachtfalke Nachtfalke is offline
 
Join Date: Apr 2006
Location: Germany
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack, I installed it without any trouble. I have a suggestion: Would it be possible to enhance the Hack that way, that I can use the Shoutbox feature as a personal guestbook? Since you used the datafield-type "longtext", the only thing that has to be changed is to show up the full and the quick editor. I am no coder, so I have no clue how to realize that. Any help is gladly apreciated!
Reply With Quote
  #1069  
Old 04-25-2006, 12:20 PM
demios demios is offline
 
Join Date: Mar 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If anyone is having a problem with the rating popup this is because there is a ">" missing in the userpage template.

It is missing from a table tag which appears as <\table rather than <\table>.
It is just above "<if condition="$show['popups']">" if anyone wants to fix theirs.
Reply With Quote
  #1070  
Old 04-25-2006, 12:34 PM
demios demios is offline
 
Join Date: Mar 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dwbro1
well not getting blank page anymore but still showing the other users in the list. Something else must be causing them to think there is info there. Here is link you can see.

http://thebluelodge.org/forums/userpage.php
Ok this needs you to modify three lines of code just adding the same bit:

On line 142 original code
PHP Code:
LEFT JOIN ".TABLE_PREFIX."user AS t2 ON(t1.userid=t2.userid
Modified code
PHP Code:
LEFT JOIN ".TABLE_PREFIX."user AS t2 ON(t1.userid=t2.useridWHERE pagedata <> '' 

On line 147 original code
PHP Code:
LEFT JOIN ".TABLE_PREFIX."user AS t2 ON(t1.userid=t2.userid
Modified code
PHP Code:
LEFT JOIN ".TABLE_PREFIX."user AS t2 ON(t1.userid=t2.useridWHERE pagedata <> '' 

On line 152 original code
PHP Code:
LEFT JOIN ".TABLE_PREFIX."user AS t2 ON(t1.userid=t2.userid
Modified code
PHP Code:
LEFT JOIN ".TABLE_PREFIX."user AS t2 ON(t1.userid=t2.useridWHERE pagedata <> '' 
You will notice that all the changes are identical, this is not a mistake.

All you are really doing is adding a WHERE command to the end of each of these rows:
PHP Code:
 WHERE pagedata <> '' 
So the database now only returns records WHERE pagedata is NOT EQUAL TO empty.
Reply With Quote
  #1071  
Old 04-25-2006, 01:32 PM
dwbro1's Avatar
dwbro1 dwbro1 is offline
 
Join Date: Apr 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That did it Demios thanks a lot..
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:36 AM.


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.05877 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
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
  • (11)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
  • (4)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_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