vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Give Your Users a Custom Page on Your Site (https://vborg.vbsupport.ru/showthread.php?t=91903)

amykhar 07-09-2005 10:00 PM

Give Your Users a Custom Page on Your Site
 
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. :)
https://vborg.vbsupport.ru/external/2010/02/12.gif

sirbutts 07-10-2005 12:57 AM

Sweet hack. I won't download it now - but give me a pm when you got it fully done :)

Christine 07-10-2005 01:15 AM

Amy -- this is sweet! An awesome addon for donating members. :D

I have no suggestions as I just glanced at the screen shots, but am getting ready to roll my 3.5 test site out to the subscribers to play with. I will load this and get their feedback for you (once it is filtered for reasonableness, of course :p )

Edit -- I guess that is the first request, to make it a usergroup specific permission. :)

amykhar 07-10-2005 01:19 AM

Quote:

Originally Posted by Christine
Amy -- this is sweet! An awesome addon for donating members. :D

I have no suggestions as I just glanced at the screen shots, but am getting ready to roll my 3.5 test site out to the subscribers to play with. I will load this and get their feedback for you (once it is filtered for reasonableness, of course :p )

Edit -- I guess that is the first request, to make it a usergroup specific permission. :)

It already is, Christine. You can control in the admincp who can create, view and moderate them.

twoseven 07-10-2005 01:48 AM

one thing maybe you want to print an error or something if one goes to a page where a user hasnt set up their page i was going to random pages and seeing no data like "this user hasnt set up a page yet" type of error.

i'm working on getting my production server back up with 3.5 will be able to help once thats up and kicking

amykhar 07-10-2005 01:50 AM

Quote:

Originally Posted by twoseven
one thing maybe you want to print an error or something if one goes to a page where a user hasnt set up their page i was going to random pages and seeing no data like "this user hasnt set up a page yet" type of error.

Good idea. I put in a basic message and updated the zip.

amykhar 07-10-2005 02:34 AM

I thought I was done with this for a while, but I seem to be in a coding frenzy today. I have added the ability to moderate the content of the pages.

I have also added basic WOL functionality.

If you have already installed, upgrading is simple:
1. Import the plugin
2. Replace the contents of the userpage template with:
Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr><td class="alt1" width="100%" >
                $pagedata
        </td>
</tr><tr><td align="right" class="tcat">
<if condition="$showeditlink"><a href="userpage.php?do=edit">Edit Your Page</a><br /></if>
<if condition="$showmodlink"><a href="userpage.php?do=moderate&userid=$userid">Moderate This Page</a></if>
</td></tr></table>

3. Reupload the userpage.php file.

The zip file includes the latest version.

Nordinho 07-10-2005 02:54 AM

looks good, anyway of getting a guestbook in??

amykhar 07-10-2005 03:01 AM

Quote:

Originally Posted by Nordinho
looks good, anyway of getting a guestbook in??

Yes. I think it's doable as an addon. Let me think about the best way to implement it.

Amy

ranger2kxlt 07-10-2005 03:01 AM

Will this only work for beta? has it been tested on 3.0.x?

amykhar 07-10-2005 03:02 AM

Quote:

Originally Posted by ranger2kxlt
Will this only work for beta? has it been tested on 3.0.x?

This is the 3.5 mod section. Nothing here works on 3.0.x. I generally code for the most recent release only, and only do work on older versions when filling service requests.

Sorry.

Amy

COBRAws 07-10-2005 03:26 AM

would it be possible to access user custom pages as this:

members.yoursite.com/user

It would be AWESOME, willing to pay if so.

twoseven 07-10-2005 03:27 AM

that is possable with a modrewrite rule

MediaHound 07-10-2005 04:19 AM

Seems cool - I'm looking for something like this for my 3.5, but with a photo gallery for the users as well.
Any suggestions?

Kirk Y 07-10-2005 04:27 AM

I like the idea and will install on my forum! Nice job, god you're pumping out a lot of hacks!

amykhar 07-10-2005 05:07 AM

Quote:

Originally Posted by twoseven
that is possable with a modrewrite rule

Yep, and that will be one of the next steps I work on.

amykhar 07-10-2005 05:08 AM

Quote:

Originally Posted by acidburn0520
I like the idea and will install on my forum! Nice job, god you're pumping out a lot of hacks!

I tend to code in spurts - especially when I'm overhauling my own site. I just share what I do for me with you guys.

Dream 07-10-2005 06:56 AM

uhm just thinking out loud, showing a list of users with pages, like userpage.php?do=list or something, sorting by name or last updated...

awww this alter tables :( nice job though

Nordinho 07-10-2005 11:14 AM

Quote:

Originally Posted by amykhar
Yes. I think it's doable as an addon. Let me think about the best way to implement it.

Amy

great ;)

Bad Bunny 07-10-2005 12:37 PM

This is amazing. I used to have something like this for vb2 but nowhere near as amazing!

I might be throwing this in for people who buy stuff from our little "store"!

amykhar 07-10-2005 02:45 PM

Teaser: I have rewrite working

http://www.eaforums.com/forums/emeleel

Amy

Christine 07-10-2005 03:10 PM

Amy,

Color me stupid here, but I can't find the links to create the page while logged in as a user who has permission to do so. I likely missed a step somewhere multi-tasking last night.

I have updated for the new zip this morning but still am not seeing this.

Where should I be looking and what step did I miss?

amykhar 07-10-2005 03:19 PM

Quote:

Originally Posted by Christine
Amy,

Color me stupid here, but I can't find the links to create the page while logged in as a user who has permission to do so. I likely missed a step somewhere multi-tasking last night.

I have updated for the new zip this morning but still am not seeing this.

Where should I be looking and what step did I miss?

If the user goes to their own page, there is an edit link. I need to change that a bit though so it only shows for users who have permission to create a page.

Amy

bigcurt 07-10-2005 03:29 PM

Sup amy, great feature. If I had 3.5 I would install right away, I am actully looking for it for 3.0.X. If you get it ported over ( I know you only code for recent things I know ) but it is worth a shot, so if ya get it ported over please tell me or release it or anything u want.

Thanks
Big curt

Christine 07-10-2005 03:32 PM

Oh! So you access it through your profile.

Can you add a link to the UserCP for them to setup/edit?

Also, the Moderate link is not caching the templates.
Quote:

(9 queries for uncached templates)
Uncached templates: editor_clientscript (1)
Uncached templates: editor_jsoptions_font (1)
Uncached templates: editor_jsoptions_size (1)
Uncached templates: editor_smilie (28)
Uncached templates: editor_smiliebox (1)
Uncached templates: editor_smiliebox_row (7)
Uncached templates: editor_toolbar_on (1)
Uncached templates: newpost_disablesmiliesoption (1)
Uncached templates: userpage_edit (1)
One other request if I can. :) Would there be a way to add a notify mod on this so that our users can let the mod team know if there is something not appropriate or of concern?

Thanks so much for this mod. :)

twoseven 07-10-2005 04:12 PM

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/eaforums/public_html/forums/userpage.php on line 304 thats what i got when going to the mod rewrite page (of course you probably know) just a heads up

strange it worked the 2nd time... you must be working on it worked 1/5 times(i even tryed the old way of going directly to the username and same error

amykhar 07-10-2005 04:35 PM

Quote:

Originally Posted by twoseven
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/eaforums/public_html/forums/userpage.php on line 304 thats what i got when going to the mod rewrite page (of course you probably know) just a heads up

strange it worked the 2nd time... you must be working on it worked 1/5 times(i even tryed the old way of going directly to the username and same error

Yeah. I am working on the list of users who have pages. I think I've just about got that done.

Christine, I'll get the templates cached. And, sure, we can put links to edit in the usercp.

And, if you wanted to, you could probably run the content through the naughty words filter and bleep them out.

Amy

amykhar 07-10-2005 04:37 PM

I have a basic list going:

http://www.eaforums.com/forums/userpage.php?do=list

It allows you to set how many to show per page by simply changing one line of code in the init section.

Should anything else be on this page?

Christine 07-10-2005 05:07 PM

Thanks Amy!

Would a 'date page last updated' be a possibility?

Dream 07-10-2005 05:15 PM

on the list, last update date... on the page itself, views, rating, send a pm link, let the user upload files... just suggesting

amykhar 07-10-2005 05:21 PM

Quote:

Originally Posted by Dream
on the list, last update date... on the page itself, views, rating, send a pm link, let the user upload files... just suggesting

Some good ideas. Some, I can do right away. Others, will take some time.

amykhar 07-10-2005 07:54 PM

For those of you who haven't clicked the install button, you missed the update email. ;)

dreck 07-10-2005 08:29 PM

NICE!!!.... *install*

amykhar 07-10-2005 08:31 PM

Quote:

Originally Posted by dreck
NICE!!!.... *install*

Please let me know how this round of installation went. I just updated the install file and want to make sure all is well.

Amy

Christine 07-10-2005 10:04 PM

And then some of us did click install but never check our emails. Heh.

Updated just fine and working with no problems!

Dream 07-10-2005 10:05 PM

another... spiderable by google if it isnt already, dunno how

amykhar 07-10-2005 10:09 PM

I think the short urls will handle Google.

You would just need to tinker with your template in the list to use the short urls instead of the dynamic ones I used. Next update, I'll have the short urls in that list.

amykhar 07-10-2005 10:09 PM

Quote:

Originally Posted by Christine
And then some of us did click install but never check our emails. Heh.

Updated just fine and working with no problems!

Christine, do you feel like sharing a url or two that I can use in the examples list in the first post?

justindwhite 07-11-2005 01:44 AM

Everything seems to be working good, except when I try to s et the permissions, this is what im getting.

Christine 07-11-2005 01:46 AM

Hi Amy,

I am moving servers in another week and the test site is using a temp domain. When I get moved and DNS is propogated, I will send them over.


All times are GMT. The time now is 08:20 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.02231 seconds
  • Memory Usage 1,829KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete