Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
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
  #572  
Old 11-03-2005, 02:28 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to update that code and use the stuff that I have in the create new thread upon registration mod.
Reply With Quote
  #573  
Old 11-03-2005, 03:01 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by westpointer
Did you figure this out? I'm having the reported posts go to an admin folder that normal users can't see. The post show up as moderated but I don't really want that. Any ideas?
Hmmm ... since build_new_post is called to build the new post, looking in functions_newpost.php we find a check for moderators:
PHP Code:
        $dataman->set('visible'0);
        
$post['visible'] = 0;
    }
    else
    {
        
$dataman->set('visible'1);
        
$post['visible'] = 1;
    } 
Unless the user is a moderator, the thread seems to go into moderation.

Here's a not so pretty solution, but it prevents the thread from being moderated:

in userpage.php FIND:
PHP Code:
build_new_post('thread'$foruminfo, array(), array(), $newpost$errors); 
REPLACE with:
PHP Code:
                 $db->query("   INSERT INTO " TABLE_PREFIX "thread(title, lastpost, forumid, open, replycount,
                                postusername, postuserid, lastposter, dateline, iconid, visible, attach)
                                VALUES
                                        ('"
.addslashes($newpost['title'])."', " TIMENOW ", $forumid,1, 0, '" addslashes($vbulletin->userinfo['username']) . "',
                                         "
.$vbulletin->userinfo['userid'].",'" addslashes($vbulletin->userinfo['username']) . "', " TIMENOW ", 0, 1,
                                         0)
                        "
);
                
$thread['threadid'] = $db->insert_id();
                
$db->query("
                        INSERT INTO " 
TABLE_PREFIX "post
                                (threadid, title, username, userid, dateline, pagetext, allowsmilie,
                                 showsignature, iconid, visible)
                        VALUES
                                (
$thread[threadid], '".addslashes($newpost['title'])."',
                                 '" 
addslashes($vbulletin->userinfo['username']) . "', ".$vbulletin->userinfo['userid'].", " TIMENOW ",
                                 '
$message', 1, 1,0, 1)
                "
);
                
$post['postid'] = $db->insert_id();
                
$db->query("
                                UPDATE " 
TABLE_PREFIX "thread
                                SET firstpostid = 
$post[postid]
                                WHERE threadid = 
$thread[threadid]
                        "
);
                
$db->query("
                                UPDATE " 
TABLE_PREFIX "forum
                                SET replycount = replycount +  1,
                                threadcount = threadcount + 1,
                                lastpost = " 
TIMENOW ",
                                lastposter = '" 
addslashes($vbulletin->userinfo['username']) . "',
                                lastthread = '"
.addslashes($newpost['title'])."',
                                lastthreadid = 
$thread[threadid]
                                WHERE forumid = 
$forumid
                        "
); 
Reply With Quote
  #574  
Old 11-03-2005, 07:37 PM
The Wise One The Wise One is offline
 
Join Date: Jun 2003
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by westpointer
Did you figure this out? I'm having the reported posts go to an admin folder that normal users can't see. The post show up as moderated but I don't really want that. Any ideas?
no i sure havent. i saaw the suggested file edit a few posts before this one...but im trying to avoid any further file edits (added a couple of small ones to improve things personally).

for now, i just made my mods moderators of the forum i designated that the reports go to. hopefully amy will be able to provide a fix that does not involve editing stock vB files.
Reply With Quote
  #575  
Old 11-04-2005, 03:57 AM
TJFweb TJFweb is offline
 
Join Date: Dec 2001
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bold
I can't get it to work with vb 3.5.1. No options show up in usergroups.
Me neither. I upgraded to 3.5.1 and even after rebuilding bitfields (yes that xml file is still in includes/xml), I still don't get usergroup options for this mod.

On 3.5.0 I *did* get usergroup options but I don't think that other people could view each others' pages; only their own.
Reply With Quote
  #576  
Old 11-04-2005, 11:27 AM
Parture Parture is offline
 
Join Date: Aug 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These user pages are driving me coocoo. I upgraded to 3.5.1 and reverted templates. It does not let you install installuserpages.php again, and creates a database error. It looks like a different error from when I tried to install it in 3.50. I would not be able to get back onto my forum if it wasn't for the product which I installed quickly after that.

It does let you reinstall installuserpage.php. So I reinstalled. But in Usergroups the 4 choices are blank. Resetting a phrase and doing the bitfields thing doesn't help. So I installed the product on page 27. That doesn't bring up the 4 choices either, just blanks. I can uninstall the product, but I am unable to uninstall installuserpage.php. I really don't understand this. All I know is I have tried every combination and nothing works. I would just like to have a userpage, but I can't get the 4 choice to show up in User Groups.

What do I do now?
Reply With Quote
  #577  
Old 11-04-2005, 02:14 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the bug in the installuserpage.php, fixed it and did a reinstall, but after reinstall, it still doesn't work, so we'll have to wait till a fix comes out.
Reply With Quote
  #578  
Old 11-04-2005, 03:08 PM
CyberRanger's Avatar
CyberRanger CyberRanger is offline
 
Join Date: Mar 2004
Posts: 1,319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to enlarge the editing window used when a user is creating or editing a page. Can anyone point me to what I'd need to change?
Reply With Quote
  #579  
Old 11-05-2005, 03:59 AM
Detomah's Avatar
Detomah Detomah is offline
 
Join Date: Sep 2003
Location: South Shields UK
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Parture
What do I do now?
Yup, i've pretty much gone through the exact same process and tried a few other things on top and no matter what I do, it won't show the usergroup options for me either. >.<

Baffled why this is happening to be honest.
Reply With Quote
  #580  
Old 11-05-2005, 10:34 AM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the announcement of 351 they say:
usergroup permissions must be linked to a product.
But if i tought the usergroup permissions of the userpages where linked to product: vbulletin...
Reply With Quote
  #581  
Old 11-05-2005, 10:36 AM
o1dirtydog o1dirtydog is offline
 
Join Date: Aug 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can't wait for this to get all the issues worked out. could possibly be one of the best mods in a long time.
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 05:04 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.05999 seconds
  • Memory Usage 2,345KB
  • 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
  • (3)bbcode_php
  • (4)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