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)

pcoskat 02-26-2006 12:26 PM

Quote:

Originally Posted by amykhar
Which is why it's marked BETA. It was never intended for general or novice use.

I didn't see where this was marked beta. Thanks for the reminder.

AWS 02-26-2006 05:59 PM

Quote:

Originally Posted by ???`S?LV?R???`
This hack was a cool concept, but at the moment too bugy to install, once the bugs get ironed out it'd be better to use, but until then not really worth the hastle.

I've been running this for a while. My users love it and some have been very creative with their pages. Yes there are some bugs, but, with a little php knowledge they can all be worked out easily. Some of the fixes are even posted in this thread.

MissKalunji 02-26-2006 08:40 PM

same here been runnning it for a while and everything is fine most fixes are posted indeed just take the time:)

djnth 02-27-2006 12:21 AM

Is there a way that I can have one of the user's custom profile fields displayed instead of their user name on the list of user pages?

My userpages are for DJs and I'm using it for DJ Profiles but I would like their DJ Name displayed instead of their user name.

Thanks!!

Mung 02-27-2006 01:15 AM

Nice hack when it gets out of beta I will sure try it ;)

???`S?LV?R???` 02-27-2006 01:34 AM

Quote:

Originally Posted by AWS
I've been running this for a while. My users love it and some have been very creative with their pages. Yes there are some bugs, but, with a little php knowledge they can all be worked out easily. Some of the fixes are even posted in this thread.

True, but for users without knowledge in php, as well as users that download this hack, install it from how it's released, the bugs that have been fixed have not been implemented, thus creating a hastle situation for the user.

That's great if you've fixed the problems for it to run smoothly for your forum, but I havn't seen anyone that has taken the time to do so for their own forum, post a complete post of the steps to fixing the known problems of this hack. It would be easier to follow complete & well written steps within one post instead of fishing through this thread for the fixes.

djnth 02-27-2006 04:03 AM

Mine works great, the only problem I'm having are some Phrases that are missing but that is a simple fix I'm sure and I think it was my error that caused this problem.

Check my user pages out:
http://www.azdancemusic.com/forums/userpage.php?do=list

I've modified it to be DJ Profiles instead of just plain user pages and add some custom fields that get autoentered based on some custom profile fields I created.

I love this mod!! Thanks again AMY!!



Quote:

Originally Posted by ???`S?LV?R???`
True, but for users without knowledge in php, as well as users that download this hack, install it from how it's released, the bugs that have been fixed have not been implemented, thus creating a hastle situation for the user.

That's great if you've fixed the problems for it to run smoothly for your forum, but I havn't seen anyone that has taken the time to do so for their own forum, post a complete post of the steps to fixing the known problems of this hack. It would be easier to follow complete & well written steps within one post instead of fishing through this thread for the fixes.


ImportPassion 02-27-2006 02:15 PM

I just found this hack and would liek to install it, but there has been no updates since November and there seems to be some issues. Is there any work being done on it?

amykhar 02-27-2006 02:48 PM

a lot of work has been done in the thread. But before you install, note that this mod is in BETA and is intended only for use by those who know how to code. The zip file will not likely be updated for some time due to time constraints.

Chris Lang 02-27-2006 05:41 PM

In answer to a post, I've put together a list of the important updates, fixes and work-arounds for this hack. These are links to posts in this thread, and obviously if they get edited or deleted, they may not show up. If you've already installed the product from the first page, you can use the following threads to help you sort things out. Although it's not officially part of the Hack, I recommend WAZA'S UPDATE (See Updates Below for the link) which gives you some additional functionality.

IMPORTANT: BEFORE YOU INSTALL OR UPDATE THIS HACK, MAKE SURE YOU HAVE BACKED UP YOUR DATABASE!

The #1 problem most people have is they don't understand or follow the directions in the FAQ. I've tried to put prime examples of such below, but it's VERY IMPORTANT that you follow all steps in the install. (Rebuild Bitfields, Edit a Phrase in Phrase Manager, etc)

If there is anything wrong or missing here, please let me know so I can edit this accordingly.

INSTALL:

Download the current Zip and follow the instructions included.

Install Issues:

Blank Usergroup Permissions/Just Buttons Click Here
Admins can't Delete Userpage Issue Click Here

Issue with 'Report this page' Forum ID: 'How can i get this so that when report a page is clicked, it posts a message in the forum of choosin, as it appears on the top x stats but when i click it says I have no permission. I also cant find the post in the forum' Click Here

Fixing bad link for Profiles in Shoutbox: (use of '/forums' instead of '/forum' Click Here Another Fix, too

VBSEO Issues with Userpage (file edit needed for VBSEO Compatability) Click Here

Deleting Userpage Permission Issue (code change userpage.php): Click Here

Formatting/Bad links in Report Page Posting: Click Here

Workaround for Table Issue (huge spaces above) Click Here

Userpage created via CP Link, but they are unable to EDIT Click Here

Updates:

Adding a link to the User's User Page in Member Profile Click Here

Hellcat's solution to the 3.5.1 Bug: Click Here

WAZA'S Update: 11-26-05 (Highly recommended) Click Here (Caution, you may lose any existing userpages and shouts, make sure you've backed up your database)

Have you tried uninstalling or upgraded and 'broken' or 'dropped' your tables/fields? (and now you're board is broken?!) I've put together a work-around for restoring your tables and making a clean uninstall so you can upgrade your product. Click Here


----------------------------------

The rest of the threads pertain mostly to Waza's update, and are as follows:

Amy's 'no loss of data' update: Click Here

(Caution, you may lose any existing userpages and shouts, make sure you've backed up your database)

Remove Smiley Box from Userpage Click Here

Remove Ranking Box (in Waza's Update: Click Here

Issue with .htaccess (link goes to AdminCP, etc): Note, this isn't a current fix for this problem, this is only discussion about it. If you have an issue, simply don't use it. Click Here


The 'Double Delete' Confirmation Issue: Click Here


As more updates come along, I'll be sure to update this post. Feel free to let me know of anything important I missed.

-Chris

ChrisBaktis 02-27-2006 09:02 PM

Quote:

Originally Posted by waza
Hey chris,
It should normally not show up if you replace:

With


However, this will delete the smilies for everyone and will still parse smilies if they type it.
If you also want to disable smilie parsing:

FIND:

REPLACE WITH:

Where do I remove this from?

Chris Lang 02-27-2006 09:34 PM

Chris, I believe this was a reference userpage.php

ChrisBaktis 02-27-2006 09:38 PM

thank you

TruthElixirX 02-28-2006 01:48 AM

I'm having a slight problem.

In IE, the drop down menu to rate someone isn't a "drop down" menu, it just stays there.

http://ospreylife.com/userpage.php?userid=1#shouttop

Anyway to fix that?

EDIT:: And yes I did try searching. Searched IE, Internet Explorer, Drop down menu, menu, an firefox and returned no results.


EDIT:: Never mind, searched a few other terms and found my problem. Thanks fo the awesome hack. :)

Chris Lang 02-28-2006 03:07 PM

Could you maybe post your findings to help others who may have a similar issue?

waza 02-28-2006 05:42 PM

@chris lang:
thx for posting all the fixes together!

Chris Lang 02-28-2006 07:15 PM

Shortly after I posted the list of updates, I had a bit of crisis myself. I was going to update the hack and somehow I managed to DROP all the tables in the database for this hack (tried to overwrite the product, then tried uninstall --- big mistake!).

I want to mention that I'm in no way a 'coder'. There is probably a much easier way of doing this. I'm simply putting down what I found by trial and error and about 8 hours of work:

This will be helpful for people who wish to cleanly uninstall the product if that process has already failed and you're stuck. (Stuck meaning, you're board is down because of missing MYSQL tables and fields brought on by an incomplete uninstall or a upgrade 'gone bad'). I want to mention that unless you had a backup prior to upgrading/re-installing this hack, any existing userpages and shouts are toast.

You will need the following:

A. PHPMYADMIN (Your dedicated box should have this, if not, don't bother reading on). Obviously you need the MYSQL username and password to use this.

B. Downloaded a fresh copy of the vBulletin Software with the same version you are running on your 'live board'

C. Room on your server for another copy of vBulletin.

D. Create a new database for the 'Dev Forum' you're going to set up. (call it 'forum2' if you prefer, but obviously don't use the existing database)

E. Backup your Database. Do it, now. (You didn't originally and that's why you're in this mess, along with me).

In PHPMYADMIN

1. First, Go to PHPMYADMIN and select your existing forum database. Check for the following tables: Userpage_rate, Usershout and Userpage. If any of these are missing, then its likely you've dropped them somehow and you can pretty much kiss them goodbye if you didn't have full backup for your database (like what happened to me!).

Next, go into Table 'usergroup' and see if the field 'userpagepermissions' is present. If it's missing, proceed to step 2.

2. This next step assumes that you have either corrupted, dropped or are otherwise missing some or all of your tables. At this point, you can drop any of the existing tables since the assumption now is that your existing userpages and shouts are gone and you're going for a fresh install/upgrade.

Save yourself some time and just leave PHPMYADMIN running for now.

In your Vbulletin AdminCP:

3. First, disable the Product (don't bother trying to delete it if you've already messed up tables). This will keep your board running. (You may want to take your board 'down' during this process).

2. This is a bit time consuming, but it'll be helpful down the road: Create a 'clean' DEV-Forum for yourself (basically a clean fresh forum install of the version you're running).

3. Install the Product on the new forums and follow the other instructions (rebuild bitfields, phrase edit, etc). Verify that its working normally.

4. Go to PHPMYADMIN (because you left it open, right?) and select the NEW database 'forum2' or whatever you decided to name it. Choose and select one the following three tables (choose 'Browse, or just double click on them in the left-hand listing)

Userpage
Userpage_rate
Usershout

Choose EXPORT and export the table structure to a MYSQL file, select "save" and save it on your desktop or someplace handy (be sure to name the file accordingly, so you can keep track of which one is which). Repeat the process for each table above.

You should now have 3 MYSQL files on your desktop (or someplace handy).

Now, Using PHPMYADMIN, select your OLD forum database and then Click STRUCTURE. The listing of tables will appear. Verify that the 3 tables you're going to import are indeed DROPPED (gone).

Scroll down past the listing in STRUCTURE to the bottom dialog where its asking for a filename to use. Click Browse, select one of your three MYSQL files from your desktop (or your oh-so-handy-place). Import all three files in the same manner. 3 Tables will be created (I know, you're asking about that missing field 'userpagepermissions', we're getting to that).

PROPER UNINSTALLATION:

Now we're going to go back and uninstall the Product on your OLD board correctly. Go into your ADMIN CP, go to your Product Manager and UNINSTALL the product. At this point, the product should uninstall without any issue. If not, you may have missed a table somewhere. The uninstallation will also take care of that pesky 'Userpagepermissions' table, too, if it was in your database.

Now that the product is uninstalled, you're going to simply re-install the product, making sure you're using the latest ZIP version and follow the instructions carefully.

What happened in the above sequences was this; we created blank entries (tables) using a new forum, exported the instructions to create them into 3 MYSQL files, imported them into your old database, ran the uninstall, which can now run properly because it has found all the database entries it needs to to properly uninstall, and then we just re-installed.

Now, that wasn't too bad was it? And you've just learned some things about MYSQL, PHPMYADMIN and you've got a brand-spankin' new DEV forum you can screw up to your heart's content.

Was this helpful? Please let me know!

NineToez 03-02-2006 06:57 AM

For all of you guys that have successfully uninstalled this product, just how did you drop the table and not get your board to crash? If I manually dropped the userpage SQL table and uninstall the product from the AdminCP, the DB still looks for the table and crashes the whole board. Can someone instead of just saying that they did it manually actually help out and recommend how they did it to help those of us that want to uninstall this? Thanks in advance.

Keyser S?ze 03-02-2006 08:41 AM

a quick edit, i would like to make an If statement so that if they dont have a user page this link doesnt show up, but i cant seem to get that to work, so here u go

this adds a link in the postbit menu, (so users viewing a post can use the dropdown to get to the users page)

Find
PHP Code:

<if condition="$post['userid'] AND $show['member']">
    <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if> 

BELOW Add
PHP Code:

<tr><td class="vbmenu_option"><a href="userpage.php?do=main&userid=$post[userid]">View My User Page</a></td></tr

u must do this in postbit and postbit_legacy

djnth 03-02-2006 09:58 AM

Anyone know where I could find info on how to do this or who I should ask, I'm hitting a dead end here.

Thanks.

Quote:

Originally Posted by djnth
Is there a way that I can have one of the user's custom profile fields displayed instead of their user name on the list of user pages?

My userpages are for DJs and I'm using it for DJ Profiles but I would like their DJ Name displayed instead of their user name.

Thanks!!


Chris Lang 03-02-2006 04:55 PM

Quote:

Originally Posted by NineToez
For all of you guys that have successfully uninstalled this product, just how did you drop the table and not get your board to crash? If I manually dropped the userpage SQL table and uninstall the product from the AdminCP, the DB still looks for the table and crashes the whole board. Can someone instead of just saying that they did it manually actually help out and recommend how they did it to help those of us that want to uninstall this? Thanks in advance.

Nine, the point here is that you probably need to re-install those tables (as mentioned about two posts back) and run the uninstall again. If you manually dropped the tables out you will never get the uninstall to work properly.

The other option is to put the Product on 'disable' and leave it as-is, but I don't recommend this.

rinkrat 03-02-2006 11:59 PM

I just uninstalled this product and now it crashed my board:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM userpage WHERE userid=1;

MySQL Error : Table 'booyah.userpage' doesn't exist
Error Number : 1146
Date : Thursday, March 2nd 2006 @ 05:53:56 PM
Script : http://www.letsgokings.com/bbs/
Referrer :
IP Address : 24.182.38.110
Username : rinkrat
Classname : vb_database




Any help? I'd appreciate it!

???`S?LV?R???` 03-03-2006 04:33 AM

Quote:

Originally Posted by Chris Lang
In answer to a post, I've put together a list of the important updates, fixes and work-arounds for this hack. These are links to posts in this thread, and obviously if they get edited or deleted, they may not show up. If you've already installed the product from the first page, you can use the following threads to help you sort things out. Although it's not officially part of the Hack, I recommend WAZA'S UPDATE (See Updates Below for the link) which gives you some additional functionality.

That's awesome to see that someone has acted on it, I applaud your effort and helpful nature.

ImportPassion 03-03-2006 11:16 AM

man, if this hack causes all these problems, it should prolly be taken down?

amykhar 03-03-2006 11:45 AM

Every time somebody has complained about not being able to find the table, it's because they didn't install the product. A lot of bug reports have been from people who didn't upload files, didn't follow the install directions and update their bitfields, etc. Not much I can do about operator error unfortunately. The mod has been running since the early betas of 3.5 on my site with no problems other than minor tweaks.

MissKalunji 03-03-2006 12:27 PM

same here :)

ImportPassion 03-03-2006 12:29 PM

should it not be taken out of beta?

amykhar 03-03-2006 02:12 PM

No. Not yet. There are some things like file uploads that I still want to add to it when I get time.

Chris Lang 03-03-2006 02:16 PM

Quote:

Originally Posted by rinkrat
I just uninstalled this product and now it crashed my board:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM userpage WHERE userid=1;

MySQL Error : Table 'booyah.userpage' doesn't exist
Error Number : 1146
Date : Thursday, March 2nd 2006 @ 05:53:56 PM
Script : http://www.letsgokings.com/bbs/
Referrer :
IP Address : 24.182.38.110
Username : rinkrat
Classname : vb_database




Any help? I'd appreciate it!


Try following the instructions in this thread:

https://vborg.vbsupport.ru/showpost....&postcount=977

If the product is still installed, you can try DISABLE and see if that temporarily gets your board back. I'm guessing you ran the uninstall and were unsuccessful?

Chris Lang 03-03-2006 02:18 PM

Quote:

Originally Posted by 7thgenCivic.Com
man, if this hack causes all these problems, it should prolly be taken down?

7th, normally I'd agree, but it IS listed as Beta, so it's obviously not finished yet. Installing a Beta mod comes at your own peril and hopefully people are installing and trying this out on a Dev board and not their 'live forums'

MissKalunji 03-03-2006 02:23 PM

im running it on a live forum....and its fine

Insert Username 03-04-2006 02:21 PM

I searched this thread and didn't find the answer, so a question. How would I go about making the page that lists all the user pages sortable by the last date modified column?

And for the record, we haven't had any problems at all running this hack.

Tomo 03-04-2006 11:46 PM

The only problem is, I'm the owner of the forum and I'm unable to delete user pages.

Why?

I've set all the options to Yes in the admin cp.

amykhar 03-05-2006 12:35 AM

Tomo, you need to read the support thread. Especially the patches post that is linked in the first post of the thread.

amykhar 03-05-2006 12:41 AM

Quote:

Originally Posted by Insert Username
I searched this thread and didn't find the answer, so a question. How would I go about making the page that lists all the user pages sortable by the last date modified column?

And for the record, we haven't had any problems at all running this hack.

The page already exists. It's the list page. All you need to do is put the link to it somewhere.

Insert Username 03-05-2006 12:48 AM

Quote:

Originally Posted by amykhar
The page already exists. It's the list page. All you need to do is put the link to it somewhere.

Right. But how can I sort this list by date modified, instead of alphabetic? Is that possible?

Tomo 03-05-2006 03:13 PM

When a member clicks 'Create A Userpage' and then decides not to, by pressing back, the userpage still creates. How can I stop this?

BeaLzeBuB 03-05-2006 06:29 PM

installed and no problem

thank you

SuperFly 03-06-2006 01:03 AM

amy, i uninstalled the product and this was the result

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM vbuserpage WHERE userid=1;

MySQL Error  : Table 'SuperFl_forums.vbuserpage' doesn't exist
Error Number : 1146
Date        : Sunday, March 5th 2006 @ 09:01:11 PM
Script      : http://www.beforums.net/index.php
Referrer    :
IP Address  : 24.131.25.172
Username    : SuperFly
Classname    : vb_database


Aesma Deva 03-06-2006 06:58 AM

Never mind, Fly, I fixed it.


All times are GMT. The time now is 10:48 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.02398 seconds
  • Memory Usage 1,875KB
  • 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
  • (2)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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