PDA

View Full Version : Give Your Users a Custom Page on Your Site


Pages : 1 2 [3] 4 5 6

cdoyle
10-18-2005, 10:10 PM
I'm able to construct my page now, but it seems the more content I add, the bigger the space between the 'delete this page' and the actual page content gets.

See the attachment to what I'm talking about. The more I add to the page, the wider that space gets. How do I stop it from doing that?

Anyone know what would cause this space to appear?

amykhar
10-19-2005, 12:59 AM
Did you change any templates?

cdoyle
10-19-2005, 01:03 AM
just what the instructions said to do?

cdoyle
10-19-2005, 01:11 AM
OK, just noticed something.

If I don't use any tables within my page, it doesn't cause any space to be added. But if I use any tables within my page, the space appears.

Also not sure if this was done on purpose, or if there is something wrong.
When creating a page, the 'insert image' icon is missing. Is it suppose to be there, or is something wrong with my install?

???`S?LV?R???`
10-20-2005, 11:30 AM
Great hack :-) I will wait for vb 3.5 Gold release

likewise, any word on the 3.5 gold release?

amykhar
10-20-2005, 12:48 PM
Somebody else reported that the image icon is missing, but I have not been able to duplicate that. I suspect that it may have something to do with how the permissions are set on your board.

Regarding tables, there's not much I can do regarding the appearance of the HTML within the page. Your markup will determine the appearance of the page and the HTML within this page should be no different than HTML within a post. If it hoses a post, it's likely to hose the page too. You'll just have to tinker with your markup to make it look like you want it.

Amy

EasyTarget
10-20-2005, 04:28 PM
dang, saw your name and thought maybe the update was done.

cdoyle
10-20-2005, 09:43 PM
On our current 3.0x forum we are using this webpage hack
https://vborg.vbsupport.ru/showthread.php?t=71065&page=1&pp=15&highlight=guest+book

and it seems to be OK with using tables. I actually just copied the HTML from that page, and copied into this new one, and that's when I noticed the problem.

Maybe there is something you can see in his hack, that allows HTML tables to work.

Startinfresh
10-21-2005, 12:46 PM
Is this running/working with 3.5 gold??

:Judge:
10-21-2005, 06:03 PM
Is this running/working with 3.5 gold??
Yeah just got done adding it to my 3.5 gold and it works just fine.

make sure you read the FAQ

~ Thank you again Amy!

EDIT: I have no link to Edit User Page in the CP, is there any easier way to fix this other then uninstall and installing again?

Other then that better then expected, adding video to my page and all!

paulomt1
10-21-2005, 07:30 PM
If this hack work on 3.5 Gold why is for 3.5.0 Beta 4?
Who have a beta installed at this time?
Sorry, but I don't understand.

amykhar
10-21-2005, 09:15 PM
It was written when VB was in beta 1. It was updated at Beta 4. I haven't updated it since. It works on all 3.5 versions up to and including gold.

rickycc
10-22-2005, 01:18 AM
it is not working with style element from vbstyles, do you have a fix.

see: cargek (http://www.cargek.com)

tteal
10-22-2005, 01:22 AM
Amy,
First and foremost, thank you for sharing such a wonderful hack. I had some issues with it though and have to delete it, then, re-add it. Is there a script to delete/uninstall, then, reinstall?

Thank you,
Tim

Dez_U
10-22-2005, 09:34 AM
Hi, I get this error.
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

I get it when I try and activate the hack on a user group?

what did I do wrong :)

amykhar
10-22-2005, 03:49 PM
Dez, it sounds like you didn't update the bitfields.

Dez_U
10-22-2005, 06:23 PM
OK, :) thanks I knew it was something silly

rickycc
10-22-2005, 11:03 PM
can i get some help?

Parture
10-23-2005, 06:31 AM
When someone reports a bad post and I change the ID for the forum it is to be reported, the bad report post reads as follows which is not very helpful. How do I fix this so it links back to the User page itself to be edited?

<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
Partrib has reported a problem with this personal page.

This is neat

userpage.php?userid=1

DjTaz
10-23-2005, 01:01 PM
amykhar , Thanks for a brilliant hack - i just installed this on my test board and it worked a treat , no problems , no issues , everything works great first time and im very impressed with the whole thing !
( I read and followed the instructions to the letter and all worked for me )

I do have 1 question though .... instead of ' userpage.php?do=main&userid=1 ' I think someone said you could edit this to say ' /djtaz ' as the link for the personal page ?
Can you tell me if this is possible , and if so , is it easy ... and if you have time , how its done ??

Dezu - if you type in 'http://mysite.com/forum/userpage.php?do=list' your will get the list of who has sites - just manually add this to your Navbar Template

<td class="vbmenu_control">
<a href="userpage.php?do=list' ">User Homepages</a></td>


Or something like the above for the list of homepages.

rickycc
10-23-2005, 01:26 PM
i got it, i re-installed the templa

Parture
10-23-2005, 03:32 PM
Help

When someone reports a bad post and I change the ID for the forum the reported posts go into, the bad report post reads as follows which is not very helpful. How do I fix this so it links back to the User page itself to be edited by a moderator?

<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
Partrib has reported a problem with this personal page.

This is neat

userpage.php?userid=1

Booth
10-23-2005, 04:22 PM
I was wondering if there's way to put in postbit a little link to link to user's personal page!
it would be really nice!

Has anyone come up with this yet? :nervous:

amykhar
10-23-2005, 05:13 PM
djtaz, the htaccess file I posted lets you do as you wish - if you don't have vbseo installed. If you have vbseo installed, it's just a matter of setting up the custom redirects.

amy

Arios
10-23-2005, 06:31 PM
Very good stuff although like a couple others mentioned I have no text beside the radio buttons on usergroup permissions. The standard code reads:

<tr valign="top">
<td class="alt1">Can See Who Left User Ratings</td>

<td class="alt1"><span class="smallfont" style="font-weight: bold; white-space: nowrap;">

However on the source below the text is missing:
<tr valign="top">
<td class="alt1"></td>
<td class="alt1"><span class="smallfont" style="font-weight: bold; white-space: nowrap;">

I'm not real worried about it but something to straighten out later.

Also I can not(nor any others) delete any pages? I keep getting permission denied and I have all permission that I know of set to yes?

I'm running this on 3.5 gold

Any help would be appreciated

amykhar
10-23-2005, 07:54 PM
Read the very first post of this thread Arios. Modifications work ever so much better if you follow the installation instructions.

Parture
10-23-2005, 08:37 PM
I clicked all 4 radio buttons for my administrator account and it still wouldn't let me delete others' user pages.

How can I delete user pages if they are profane?

Also, how does the moderator function work? Where do I go to view the moderator screen?

http://biblocality.com/forums

Parture
10-23-2005, 08:44 PM
Help

When someone reports a bad post and I change the ID for the forum the reported posts go into, the bad report post reads as follows which is not very helpful. How do I fix this so it links back to the User page itself to be edited by a moderator?

<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
Partrib has reported a problem with this personal page.

This is neat

userpage.php?userid=1

DjTaz
10-24-2005, 12:06 AM
djtaz, the htaccess file I posted lets you do as you wish - if you don't have vbseo installed. If you have vbseo installed, it's just a matter of setting up the custom redirects.

amy

I dont have VBSEO , but i may go look for it -
I tried the HTaccess page you gave , but all i seem to get is :

The page cannot be found

I dont have much knowledge about htaccess so im a bit at a loss , but ill do some research and see what i can come up with - Thanks again

Parture
10-24-2005, 02:28 AM
I have some problems:

1) I deleted a username for my forum, and then I tried to delete the Userpage for that deleted user, and it just gives you this message that says the user no longe exists. How do I totally get rid of the User page for a user than has been deleted from the forum?

2) I can't delete any User pages at all.

3) Reporting abuse in a User page produces all kinds of strange data in the forum it is sent to.

I just unistalled the whole thing, but when I tried to reinstall it all the same 3 problems still exist and it still shows a user page link for the deleted user, a link that is dead. I want to get rid of that Userpage user name, but it won't let me.

Help. Lot's of problems.

Morgalis
10-24-2005, 03:26 AM
I'm amongst the people that have SEO set up and the .htaccess messes with the links.

I'm not certain how to make changes so both these can work together, is there a process to uninstall this hack until I can find a way for them to work peacefully together?

Parture
10-24-2005, 07:48 AM
http://biblocality.com/forums

I just got a database crash and I can't access my forum at all. I tried to uninstall these instructions using installuserpage.php, choosing uninstall and got some error. I did this because I was trying to get rid of one the user's User Pages after I deleted the user. I am stuck and my forum is dead now.

Any ideas?

Installation instructions

1. Upload installuserpage.php and userpage.xml to your admincp directory. Run installuserpage.php

2. upload the userpage.php and .htaccess to your forum directory.

3. Upload bitfield_userpage.xml to your includes/xml directory. Rebuild your bitfields.

4. In your admincp usergroup manager, set permissions for each of your user groups.

5. In your usercpshell template Find:
---------
<if condition="$show['siglink']">
<tr>
<td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td>
</tr>
</if>
-----------
Add After:
----------
<if condition="$show['createuserpagelink']">
<tr>
<td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="userpage.php?$session[sessionurl]do=create">Create Your Userpage</a></td>
</tr>
</if>
<if condition="$show['edituserpagelink']">
<tr>
<td class="$navclass[signature]" nowrap="nowrap"><a class="smallfont" href="userpage.php?$session[sessionurl]do=edit">Edit Your Userpage</a></td>
</tr>
</if>
----------

6. import the userpage_plugin.xml

7. Add a link to the list of userpages somewhere on your site (i.e. your navbar. The link is <a href="userpage.php?do=list">User Pages</a>

You are good to go!

amykhar
10-24-2005, 11:11 AM
Morgalis, don't use this htaccess if you have vbseo. What you need to do is set up custom redirects. I believe they are posted at the vbseo site.

The Wise One
10-24-2005, 02:40 PM
very cool add on. will be real useful for our users.

i am having a small problem when reporting a user page. as an admin...i can report any page and the report is posted in the forum i specify in userpages.php. my problem is...if any other usergroup reports a page, the report is posted but it is sent directly to the moderation queue. ive checked the usergroup permissions and the forum permissions. they are setup as they should be.

also...i was getting a javascript error when creating/editing a page. removing this code fixed that:
" <if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)"</if>

i, too, was getting the odd report page message formatting. i just removed the reference to doctype from the template and fixed the url so it would show correctly:
$vboptions[bburl]/userpage.php?$session[sessionurl]userid=$userinfo[userid]

subnet_rx
10-24-2005, 02:47 PM
nice work, when do you think you'll get to complete it with the planned features?

bane1
10-24-2005, 03:26 PM
Any working examples of this hack?

???`S?LV?R???`
10-25-2005, 07:27 AM
=============================================
Open Template: usershout_archive_row
---------------------------------------------------

Find: /forums/member.php

Replace With: /$vboptions[bbtitle]/member.php

=============================================
Open Template: usershout_row
----------------------------------------

Find: /forums/member.php

Replace With: /$vboptions[bbtitle]/member.php

=============================================

???`S?LV?R???`
10-25-2005, 11:20 AM
Btw Amy, do you got your ibpro working for 3.5 gold? cause the instructions I got won't work for it due to certain codes not being there...etc

davidw
10-25-2005, 08:45 PM
<font color="SeaGreen">* christian clicks install</font>

I've not seen any problems yet, and don't forsee any either.

Goatpod
10-26-2005, 10:34 AM
Took me a while to get up and running - more down to my lack of knowledge than anything else, but it's working fine now :)

Apart from when edtiting user group permissions - I'm still not getting the labels, and don't know what to look for in the phrase manager to open and save them!

Cheers, Amykhar - a much appreciated addition :)


/EDIT: Aha, got the little buggers - everything's working fantastically now. Thanks again :)

one9er
10-26-2005, 01:11 PM
amykhar I must'a done something wrong some where. I can't get it to show up in my 'Control Panel' ?

I can get it to work putting the url in the url bar for everything:"Forum/userpage.php?userid=1"

But just doesn't show in the control panel?

txbigguy
10-26-2005, 05:54 PM
I have this installed. Everything is running great execpt I can not delete any pages. Can anyone help on this?

DjTaz
10-27-2005, 07:45 AM
djtaz, the htaccess file I posted lets you do as you wish - if you don't have vbseo installed. If you have vbseo installed, it's just a matter of setting up the custom redirects.

amy

Amy - thanks for the .htaccess file , but the first line was doing something to my site - not exactly sure what it was - anyway , if anyone else is having the same problem , removing the first line solved it for me
REMOVE THIS PART

Options +FollowSymLinks

BlackxRam
10-27-2005, 12:09 PM
How steady is this addon with 3.5 Final? Any Major Issues?

DjTaz
10-27-2005, 04:36 PM
Seems to be pretty much rock solid for me as regards the coding goes - i have added in a few phrases myself as my boards isnt aimed at English speaking people and i need to change the languages a little , but its seems to be pretty excellent for now anyway.

The Chief
10-28-2005, 03:49 PM
Works great Amy, good job!

*clicks install*

InsaneContender
10-28-2005, 08:53 PM
I would like to know how I could possible setup a default page - that way it doesn't automatically say "This user has not created... blah blah" and at least it would start counting visitors and such. Is this possible?

Christine
10-28-2005, 10:06 PM
Hi Amy,

Had a small problem with a member calling an external javascript file that caused the page to go kaphlooey. Any way of disabling html for this?

amykhar
10-28-2005, 10:16 PM
In the next version, I'll let the admins set whether html is enabled or not. Until then, it's a matther of changing the parameters to the editor. I'll look up the changes for you.

Amy

calinut
10-29-2005, 07:09 AM
i keep getting this error when trying to install any advice
There seems to have been a problem with the YourVirtual Adult Community database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.5.0:

Invalid SQL:
INSERT INTO phrase VALUES ('', -1, 'no_userpage_created', 'This user has not yet created a personal page',1 ,'vbulletin');

MySQL Error : Unknown MySQL error
Error Number : 2000

Andyrew
10-29-2005, 09:20 AM
How do import the userpage_plugin.xml, what do i need to put in the boxes ????

It tells me its not a product and to use plugin manager. ??

Bullethead21
10-29-2005, 04:51 PM
In your admin cp click "Plugin System" then "Download/Upload Plugins" then scroll down to the bottom of the page and clear the default path and then click the "Browse" button and navigate to where you have the plugin saved. Click "Import" and your done!

Amy-Nice hack! Works Great! *clicks install*

Andyrew
10-29-2005, 05:53 PM
In your admin cp click "Plugin System" then "Download/Upload Plugins" then scroll down to the bottom of the page and clear the default path and then click the "Browse" button and navigate to where you have the plugin saved. Click "Import" and your done!

Amy-Nice hack! Works Great! *clicks install*

Thanks for that.

tteal
10-29-2005, 07:52 PM
Amy,
First and foremost, thank you for sharing such a wonderful hack. I had some issues with it though and have to delete it, then, re-add it. Is there a script to delete/uninstall, then, reinstall?

Thank you,
Tim

Any help? I would be most grateful. Thank you Amy.

MojoNixon
10-29-2005, 10:49 PM
what are the exact names of the phrases in admincp?

Any Chance to move the Shoutbox to the top? Or as a Sidebar?
Like its in the Webpage and Guestbook Script?

Btw ..why is the Background grey and not white?

Injektilo
10-29-2005, 10:53 PM
amykhar i have one question...
can the personal page be edited to add some questions that will show in personal page of each user? Example, "Favorite Movie" , "Favorite Band" etc ?

amykhar
10-29-2005, 11:12 PM
Yes, but it require significant changes. This mod is not meant to be a profile page. It is meant to be a personal page for the user to express himself.

Amy

Injektilo
10-29-2005, 11:41 PM
Yes, but it require significant changes. This mod is not meant to be a profile page. It is meant to be a personal page for the user to express himself.

Amy


no i mean, the page can stay as it is, only if its possible to add those questions as an extra

amykhar
10-29-2005, 11:43 PM
Not without significant work.

TJFweb
10-30-2005, 02:05 AM
Not without significant work.

Hi,

I think it would be nice if a link to the user's page can automatically appear in their postbit (provided that they have a page - if they don't then nothing shows).

Does anyone have an <if> statement that can do this?

Thanks!

iceytdot
10-30-2005, 05:33 AM
everything seems to work, except where permissions is the 4 options for this are BLANK, i enabled everything for me just 4 now.. but where can i find the phrases so i can install them manually?

Andyrew
10-30-2005, 06:04 AM
everything seems to work, except where permissions is the 4 options for this are BLANK, i enabled everything for me just 4 now.. but where can i find the phrases so i can install them manually?

Go to your phrase manager and open any phrase then save it, that will sort out the text thats missing.

Koopa
10-30-2005, 02:18 PM
Nice hack, thanks :)

PsiNyde
10-30-2005, 02:59 PM
Go to your phrase manager and open any phrase then save it, that will sort out the text thats missing.


that didnt work for me, and i still cant see the phrases in editing the usergroup perms...

hitmanuk2k
11-01-2005, 04:20 PM
User pages are just not showing. Hundreds of people have made them, but only the creators can see them, I think... or at least I can see mine but no one elses. All the permissions for each group are set correctly.

Bones_3DFC
11-01-2005, 05:06 PM
In the above FAQ
Run the following: http://www.yoursite.com/forum/admin...=buildbitfields
Is that the full address?
I get the http 404 page and my usergroup userpage options won't stay at yes.
I replaced 'yoursite' with my site of course and my forum is at mysite.com/forum

*EDIT:
This works
http://www.yoursite.com/forum/admincp/index.php?do=buildbitfields
Ohhhhhhhhhhhh :)
ok
This forum is chopping links
If anyone is as stupid as me
to rebuild bitfields
go to your domain /forum (the directory of your forum) /admincp/index.php?do=buildbitfields

bold
11-03-2005, 04:39 AM
I can't get it to work with vb 3.5.1. No options show up in usergroups.

amykhar
11-03-2005, 10:53 AM
Have you rebuilt your bitfields? The options still show up for me on my 3.5.1

bold
11-03-2005, 12:54 PM
Have you rebuilt your bitfields? The options still show up for me on my 3.5.1

yes i have. before and after upgrading to 3.5.1

CyberRanger
11-03-2005, 02:11 PM
very cool add on. will be real useful for our users.

i am having a small problem when reporting a user page. as an admin...i can report any page and the report is posted in the forum i specify in userpages.php. my problem is...if any other usergroup reports a page, the report is posted but it is sent directly to the moderation queue....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?

amykhar
11-03-2005, 02:28 PM
I need to update that code and use the stuff that I have in the create new thread upon registration mod.

CyberRanger
11-03-2005, 03:01 PM
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:
$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:build_new_post('thread', $foruminfo, array(), array(), $newpost, $errors);

REPLACE with: $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
");

The Wise One
11-03-2005, 07:37 PM
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.

TJFweb
11-04-2005, 03:57 AM
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.

Parture
11-04-2005, 11:27 AM
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?

waza
11-04-2005, 02:14 PM
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.

CyberRanger
11-04-2005, 03:08 PM
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?

Detomah
11-05-2005, 03:59 AM
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. :confused:

waza
11-05-2005, 10:34 AM
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...

o1dirtydog
11-05-2005, 10:36 AM
can't wait for this to get all the issues worked out. could possibly be one of the best mods in a long time.

Snoop-It
11-05-2005, 06:14 PM
The options dont show up either on mine in Usergroup :S

Please could some one help me... i really need this hack working 100% on my forum.......................!!! :nervous:

Parture
11-06-2005, 03:10 AM
Thank you worked great!

I was able to use the xml product to install and unistall, but I am unable to get userpages to work at all. I don't see the Create User Page in the left panel of USERCP Shell, I am unable to get text next to the 4 choices in Usergroups.

I'll just wait for someone to figure this out.

tteal
11-06-2005, 04:11 AM
Any support going on for this hack?

Nixpeiler
11-06-2005, 04:48 AM
but I am unable to uninstall installuserpage.php this is a bug in installuserpage.php
in line 190 find this
$db->query("delete from ".TABLE_PREFIX."phrase where varname = 'last_updated'");
and remove to
$db->query("delete from ".TABLE_PREFIX."phrase where varname = 'lastupdated'");
thats work to you have no error by the reinstall

regards

stonyarc
11-06-2005, 10:30 AM
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...

That might do the trick.

I currently removed this mod on 3.5.1 because of permission and usergroup issue.

Hope there will be an update soon because the users love it.

Snoop-It
11-06-2005, 12:47 PM
i know how you feel lol im desprately waiting for the fix.. such an excellent mod!!

funinthesun
11-06-2005, 02:18 PM
I've followed the instructions but the only thing I don't know how to do is when it says run installuserpage.php Call me dumb! :) When I import the userpage_plugin I get a big error that takes my whole forum offline, any ideas? :confused:

stonyarc
11-06-2005, 02:26 PM
I've followed the instructions but the only thing I don't know how to do is when it says run installuserpage.php Call me dumb! :) When I import the userpage_plugin I get a big error that takes my whole forum offline, any ideas? :confused:


I think you need to take the plugins to non-active or remove till a fix for 3.5.1 is released.

There are several issues with the phrases in the installer to but those are already somewhere in this thread.

funinthesun
11-06-2005, 05:14 PM
I'm not using 3.5.1, will I have to upgrade then? Do you know what it means when it says run installuserpage.php? Sorry, I'm having lots of dumbs moments recently! :D

Snoop-It
11-06-2005, 05:41 PM
^^ well if it says run that file... run it then init? point your browser to that file..? have you installed it via the installation script found in the admin cp (if u uploaded it that is)??

funinthesun
11-06-2005, 05:53 PM
Thanks! I have run the file now. Sorry, I said it was a dumb question but I didn't know how to run the file, now I know that you have to point you browser to it. It's easy when you know how but I was searching the admincp looking for a run button! Hehe lol. Thanks again. :D

Snoop-It
11-06-2005, 06:09 PM
LOL yeah i made a silly mistake as well...

MissKalunji
11-06-2005, 11:40 PM
or what you guys could do is


remove that code til a fix come sout


// Find out if the user has permission to view user web pages If not, boot them.
if (!($permissions['userpagepermissions']& $vbulletin->bf_ugp_userpagepermissions['canview']))
{
print_no_permission();
}


it will remove permissions til the coder comes up :) with a fix

funinthesun
11-07-2005, 08:44 AM
Ok, I think I've done everything correctly but nothing is showing up yet??

SB2002
11-07-2005, 12:34 PM
ok, I've tried this and it gets the settings showing in usergroup manger. You must install the product on page 27 for this to work, then replace your bitfield_userpage.xml with the one attached here and then rebuild bitfields. It will then appear at the bottom of the usergroup and make it 3.5.1 compliant.

EDIT: I've attached the product again to save people from having to look for it credit for the product goes to cclaerhout

EDIT 2: Working in 3.5.1 clicky (http://www.rearrangedwebdesigns.co.uk/forum/userpage.php?userid=1)

Snoop-It
11-07-2005, 07:49 PM
Yeah it works like a charm!! Thanks Man!!

Snoop-It
11-07-2005, 08:09 PM
yo how can i get this on my profile page???

Keyser S?ze
11-07-2005, 08:12 PM
sorry if this was asked, but is it planned to havee it per option to disable permission, per user, so u dont have to set up a new user group

also there should be an option to allow/not allow javascript, that can do alot of harm, and that should also be per user group

Nixpeiler
11-07-2005, 08:23 PM
EDIT 2: Working in 3.5.1
not exact only work for moderators + and nobody have access to
a href="userpage.php?do=edit"Edit Your Page
and nobody can delete sides

regards

JoshH
11-07-2005, 09:05 PM
When i go to installuserpage.php, and attempt to install (for the first time.) I get this error after clicking procede to add the required phrases.

Database error in vBulletin 3.5.1:

Invalid SQL:
INSERT INTO phrase VALUES ('', -1, 'no_userpage_created', 'This user has not yet created a personal page',1 ,'vbulletin');

MySQL Error : Duplicate entry 'no_userpage_created--1-1' for key 2
Error Number : 1062
Date : Monday, November 7th 2005 @ 06:03:13 PM
Script : http://www.forumslive.net/forum/admincp/installuserpage.php
Referrer : http://www.forumslive.net/forum/admincp/installuserpage.php
IP Address : 65.80.184.225
Username : Josh
Classname : vb_database

MissKalunji
11-07-2005, 09:34 PM
ok, I've tried this and it gets the settings showing in usergroup manger. You must install the product on page 27 for this to work, then replace your bitfield_userpage.xml with the one attached here and then rebuild bitfields. It will then appear at the bottom of the usergroup and make it 3.5.1 compliant.

EDIT: I've attached the product again to save people from having to look for it credit for the product goes to cclaerhout

EDIT 2: Working in 3.5.1 clicky (http://www.rearrangedwebdesigns.co.uk/forum/userpage.php?userid=1)

working fine so far :) thanks!!!!

SB2002
11-07-2005, 09:50 PM
not exact only work for moderators + and nobody have access to
a href="userpage.php?do=edit"Edit Your Page
and nobody can delete sides

regards


Access is fine in mine. Just make sure you are doing the usergroup settings after uploading the new bitfield file and after rebuilding the bitfields. I don't profess to be much of a coder, I just looked at the work some other people did on other hacks to make them 3.5.1 compliant and then checked this on my board 2 or 3 times before uploading it.

Parture
11-08-2005, 03:45 AM
This is getting out of hand. A bunch of people have Userpages stuck on their vBulletin and we don't know how to get it off. These are the problems:

1) Can't get rid of the 4 fields under usergroups which makes all the buttons vertical not horizontal to each other in a usergroup.
2) Installuserpage.php disables the forum (if you don't have the xml product at that moment to upload, you can't retrieve your forum.
3) the xml product someone made to help fix this problem, does not get rid of the problem in (1), nor does it make the userpages work either, nor even get the link in the user's USERCP to show up to create userpages

Do I sound frustrated?

Nothing is working. You would think with such a useful product someone would solve this problem for us newbies. And it seems like an easier product to install and create than most others which should not have such problems.

Parture
11-08-2005, 03:56 AM
It feels like a mess,

Database error in vBulletin 3.5.1:

Invalid SQL:
ALTER TABLE vb_ usergroup DROP userpagepermissions;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'usergroup DROP userpagepermissions' at line 1
Error Number : 1064
Date : Monday, November 7th 2005 @ 09:51:57 PM

Parture
11-08-2005, 03:58 AM
Using installuserpage.php,

Database error in vBulletin 3.5.1:

Invalid SQL:
DROP TABLE vb_userpage;

MySQL Error : Unknown table 'vb_userpage'
Error Number : 1051
Date : Monday, November 7th 2005 @ 09:56:44 PM

Parture
11-08-2005, 04:11 AM
Userpages install,

Database error in vBulletin 3.5.1:

Invalid SQL:
ALTER TABLE vb_usergroup ADD userpagepermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'userpagepermissions'
Error Number : 1060
Date : Monday, November 7th 2005 @ 10:06:53 PM

Parture
11-08-2005, 04:41 AM
<font size="5">I can't change anything in any of my usergroup settings as I get an error. </font>

Database error in vBulletin 3.5.1:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Moderators',
`description` = '',
`usertitle` = 'Moderator',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782847',
`genericpermissions` = '254744267',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '15',
`adminpermissions` = '0',
`genericoptions` = '22',
`profilepicmaxwidth` = '120',
`profilepicmaxheight` = '120',
`profilepicmaxsize` = '120000',
`avatarmaxwidth` = '48',
`avatarmaxheight` = '64',
`avatarmaxsize` = '24000',
`journalpermissions` = '0',
`profileviewpermissions` = '0'
WHERE usergroupid=7;

MySQL Error : Unknown column 'profileviewpermissions' in 'field list'
Error Number : 1054
Date : Monday, November 7th 2005 @ 10:39:07 PM

MissKalunji
11-08-2005, 04:53 AM
uhm use your backup !?!?

Parture
11-08-2005, 04:56 AM
This is the second time userpages destroyed my forum. I have to start over again.

nack
11-08-2005, 04:57 AM
"Nack, you do not have permission to access this page."

And I'm an admin... :)

MissKalunji
11-08-2005, 04:59 AM
"Nack, you do not have permission to access this page."

And I'm an admin... :)

did you do that ? https://vborg.vbsupport.ru/showpost.php?p=814760&postcount=595

stonyarc
11-08-2005, 05:18 AM
Any news from the developer yet?

I haven't seen a reply from Amykhar on these matters yet.

Boofo
11-08-2005, 05:31 AM
This is getting out of hand. A bunch of people have Userpages stuck on their vBulletin and we don't know how to get it off. These are the problems:

1) Can't get rid of the 4 fields under usergroups which makes all the buttons vertical not horizontal to each other in a usergroup.
2) Installuserpage.php disables the forum (if you don't have the xml product at that moment to upload, you can't retrieve your forum.
3) the xml product someone made to help fix this problem, does not get rid of the problem in (1), nor does it make the userpages work either, nor even get the link in the user's USERCP to show up to create userpages

Do I sound frustrated?

Nothing is working. You would think with such a useful product someone would solve this problem for us newbies. And it seems like an easier product to install and create than most others which should not have such problems.

To accomplish number 1. Just delete this from the includes/cron directory:

bitfield_userpage.xml

and rebuild your bitfileds and the settings will be gone.

And calm down, Uninstalling this hack is a breeze. I did it in about 5 minutes. ;)

funinthesun
11-08-2005, 04:43 PM
At last someone understands the problems I'm having! Parture, I have exactly the same problems as you except for the first one. Nothing is showing up in the users USERCP and nothing is showing up in the usergroupmanager either?? I'm totally stumped and think I'm going to have to uninstall :(

waza
11-08-2005, 06:54 PM
not exact only work for moderators + and nobody have access to
a href="userpage.php?do=edit"Edit Your Page
and nobody can delete sides

regards
I have the same problem!

fiber_cut
11-09-2005, 07:57 PM
Looks like everyone who upgraded to 3.5.1 got hosed..

TJFweb
11-09-2005, 08:34 PM
I used SB2002's 3.5.1 fix and now I get the AdminCP options back as well as permission to view the userpages / create them, however I am still having the same problem as I was with 3.5.0 in that I cannot view other users' user pages, only my own. When I load someone else's userpage, it only shows their guestbook and not the actualy content of the page.

MissKalunji
11-09-2005, 09:35 PM
i used the fix and everything works fine...maybe i could try to help? its been working from the beginning....

Snoop-It
11-10-2005, 01:13 AM
Can any one help me out here please... i want to place a users page onto their profile bit.. iv re-arranged everything but i just dont know what all the vb phrases are to call up the actual data, iv spent 2/3 hours trying everything i can think of and i still can't get the data to pick up :tired:

Please check the screen shot attached and you will know what i mean.

Thanks in advance!

TJFweb
11-10-2005, 03:24 AM
i used the fix and everything works fine...maybe i could try to help? its been working from the beginning....

I think amykhar has gone awol on this one :P...

Moncal
11-10-2005, 06:08 PM
When I first tried to install this I messed up because I didn't upload the userpage.xml file because your instructions didn't say to, so I got an error. So then I uploaded it, tried again and got an sql error. So I tried uninstalling it to the queries part. I tried to reinstall it but I get an sql error when I try to add the phrases. Any help would be greatly appreciated.

ps. I'm still running 3.5.0

MissKalunji
11-10-2005, 06:20 PM
When I first tried to install this I messed up because I didn't upload the userpage.xml file because your instructions didn't say to, so I got an error. So then I uploaded it, tried again and got an sql error. So I tried uninstalling it to the queries part. I tried to reinstall it but I get an sql error when I try to add the phrases. Any help would be greatly appreciated.

ps. I'm still running 3.5.0

so now everything is uninstall?

InsaneContender
11-10-2005, 07:09 PM
I was able to combine the custom pages with the default profile. As seen at http://www.communityforums.net/Cameron

What do you think?

MissKalunji
11-10-2005, 09:12 PM
Teaser: I have rewrite working

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

Amy

*edited*

never mind got it

MissKalunji
11-10-2005, 09:46 PM
I was able to combine the custom pages with the default profile. As seen at http://www.communityforums.net/Cameron

What do you think?


how did you do the whole movie favorite quote etc? can i have the code?

funinthesun
11-10-2005, 10:06 PM
Looks great, can you share the code please :)

Snoop-It
11-10-2005, 10:26 PM
how did you do the whole movie favorite quote etc? can i have the code?


He wont give u the code.

Il give you the code. PM me.

Plus no point asking about the view userpage on profile, since it "took him ages to do" he doesn't want any one to have it. Don't worry, il have it up within a few days max, il share the code with you aswell if i get it sorted. **some of us aren't selfish** :rolleyes:

MissKalunji
11-10-2005, 10:53 PM
He wont give u the code.

Il give you the code. PM me.

Plus no point asking about the view userpage on profile, since it "took him ages to do" he doesn't want any one to have it. Don't worry, il have it up within a few days max, il share the code with you aswell if i get it sorted. **some of us aren't selfish** :rolleyes:

Thanks in advance!

DraculaVN
11-11-2005, 12:37 AM
I'm Admin but I can't delete any custom pages. Please help me !!!

DraculaVN
11-11-2005, 04:26 AM
I don't want to use HTML code in Custom Pages. How can I remove it ?

InsaneContender
11-12-2005, 08:08 AM
He wont give u the code.

Il give you the code. PM me.

Plus no point asking about the view userpage on profile, since it "took him ages to do" he doesn't want any one to have it. Don't worry, il have it up within a few days max, il share the code with you aswell if i get it sorted. **some of us aren't selfish** :rolleyes:

Main reason I won't give the code is because I can't remember what all I edited. lol

If I were to give the code, it wouldn't work because I edit several files, but I can't remember which were the others... only member.php is what I remember. So yeah. I ain't selfish. Just didn't want to sound stupid. But being called names won't help.

waza
11-12-2005, 08:51 AM
Main reason I won't give the code is because I can't remember what all I edited. lol

If I were to give the code, it wouldn't work because I edit several files, but I can't remember which were the others... only member.php is what I remember. So yeah. I ain't selfish. Just didn't want to sound stupid. But being called names won't help.
Just make a nice product ;) it's easy for you if you wan't to upgrade your board, and you make other people happy.

however, maybe after my buddies hack works good and nobody has done this I'm going to take a look at this. it think that other product that is here somewhere posted has just some things forgotten, so maybe I'll try to fix that one.

InsaneContender
11-12-2005, 07:40 PM
I'm not the hard-core coder type. So yeah.

turblue
11-13-2005, 04:01 AM
Can anyone explain to me exactly why the userpage hack does not work with 3.5.1 ??

How do I use the product version of this hack when I already have the 1.2.1 version installed from vB 3.5.0 ??

MissKalunji
11-13-2005, 09:10 AM
Can anyone explain to me exactly why the userpage hack does not work with 3.5.1 ??

How do I use the product version of this hack when I already have the 1.2.1 version installed from vB 3.5.0 ??


do this : https://vborg.vbsupport.ru/showpost.php?p=814760&postcount=595

and it should work :)

Rhoads
11-13-2005, 11:08 AM
Installed on vB3.5.1 and working great (clean install) :banana:
I have used the bitfield_userpage.xml and product-_GYUCPYS.xml on
https://vborg.vbsupport.ru/showpost.php?p=814760&postcount=595
Thnx for that ;)

Moncal
11-14-2005, 01:56 AM
so now everything is uninstall?

I'm not sure. I'm not seeing any residual effects, but probably not since I can't just rerun the install.

edit: I've made it through the uninstall process without any sql errors, but it's not actually deleting the phrases. So when I try to run the install I get an sql error because the phrases already exist.

Zacarias
11-14-2005, 04:50 AM
This is great- exactly the thing I was looking for.. Thank you so much. Install was a breeze.

utw-Mephisto
11-14-2005, 05:45 AM
Installed on vB3.5.1 and working great (clean install) :banana:
I have used the bitfield_userpage.xml and product-_GYUCPYS.xml on
https://vborg.vbsupport.ru/showpost.php?p=814760&postcount=595
Thnx for that ;)

Working here too, but I cannot delete custom pages even though I am super-admin ... any ideas ?

Zacarias
11-14-2005, 06:17 AM
I was reading in this thread about a large space when you use tables-- I'm having the same issue. I removed the tags, and there wasn't a space. I added them again, and the space was there. I know my HTML is fine.

But, I posted in in a thread, and I got the space as well. I'll have to look into it.

fulleffect
11-14-2005, 11:28 AM
Hi

Just to say thanks for this great mod!

I upgraded to the latest version vbulletin 3.5.1 ok

installed this mod ok, but had to use the bitfield_userpage.xml and product-_GYUCPYS.xml on

https://vborg.vbsupport.ru/show...0&postcount=595

The only other minor things i could do with some help on is:

when i create a userpage, in the page content editor, there isn't the icon to add an image. (although if you manually add the tags it does display an image, but most users wont know this)


also the url rewrite doesn't seem to be working, doesn't it work with 3.5.1

anyone else had the problem and managed to fix it?


Thanks!

KBV
11-14-2005, 01:04 PM
Whenever I report a page it posts a warning in a predefined forum, but the link it gives is http://userpage.php/?userid=1 :P

Where do I change this to make it work. ^^

Thanks for a great mod! Very spiffy!

CyberRanger
11-14-2005, 02:32 PM
I was reading in this thread about a large space when you use tables-- I'm having the same issue. I removed the tags, and there wasn't a space. I added them again, and the space was there. I know my HTML is fine.

But, I posted in in a thread, and I got the space as well. I'll have to look into it.That's because any cr/lf's between the table tags is converted to a <br> when processed by vBulletin (and all the <br>'s end up above the table). Big grip of mine too! :disappointed:

Zacarias
11-16-2005, 05:25 AM
That's because any cr/lf's between the table tags is converted to a <br> when processed by vBulletin (and all the <br>'s end up above the table). Big grip of mine too! :disappointed:

It's funny, because the source looks just fine. I don't understand it.

Anyone know of a work-around to this?

CyberRanger
11-16-2005, 11:14 AM
Anyone know of a work-around to this?Yeah, just don't make your tables look pretty. Instead of this:
<table>
<tr>
<td>
</td>
</tr>
</table>

Do this:

<table><tr><td></td></tr></table>

one9er
11-16-2005, 09:00 PM
Database error in vBulletin 3.5.1:

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

MySQL Error : Table 'worry1.userpage' doesn't exist
Error Number : 1146

I have no idea as to what to do.

TJFweb
11-16-2005, 11:03 PM
Database error in vBulletin 3.5.1:

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

MySQL Error : Table 'worry1.userpage' doesn't exist
Error Number : 1146


I have no idea as to what to do.

Permissions are still stuffed for me on 3.5.1.

Uninstalled.

EasyTarget
11-16-2005, 11:11 PM
bah, everytime this gets bumped I get my hopes up. :/

tnguy3n
11-16-2005, 11:14 PM
MySQL Error : Table 'worry1.userpage' doesn't exist

Did you read the MySQL warning? your userpage table doesn't exist.
you can insert it manually if the installer doesn't create the table.
CREATE TABLE userpage (
userid int(15) unsigned NOT NULL default '0',
pagedata text NOT NULL,
rating int(11) NOT NULL default '0',
dateline int(10) NOT NULL default '0',
username varchar(255) NOT NULL default '',
views int(10) NOT NULL default '0',
numvotes int(11) NOT NULL default '0',
votetotal int(11) NOT NULL default '0',
PRIMARY KEY (userid)
) TYPE=MyISAM

need to know a bit about mysql + php to run a website. ;)

Zacarias
11-17-2005, 05:49 AM
Yeah, just don't make your tables look pretty. Instead of this:
<table>
<tr>
<td>
</td>
</tr>
</table>

Do this:

<table><tr><td></td></tr></table>

Hey, wow, that worked perfectly! :D

Thank you so much!

ronoxQ
11-17-2005, 10:26 AM
Here's my problem. I ran the installer and everything, but I can't edit user permissions on the Usergroups page. They don't show up. So now I have a userpage.php, but nobody can access it...

How do I update my usergroups? HELP!!! :surprised:

one9er
11-17-2005, 10:57 AM
Did you read the MySQL warning? your userpage table doesn't exist.
you can insert it manually if the installer doesn't create the table.
CREATE TABLE userpage (
userid int(15) unsigned NOT NULL default '0',
pagedata text NOT NULL,
rating int(11) NOT NULL default '0',
dateline int(10) NOT NULL default '0',
username varchar(255) NOT NULL default '',
views int(10) NOT NULL default '0',
numvotes int(11) NOT NULL default '0',
votetotal int(11) NOT NULL default '0',
PRIMARY KEY (userid)
) TYPE=MyISAM

need to know a bit about mysql + php to run a website. ;)

Did that, now I get something about the userID?

Database error in vBulletin 3.5.1: Invalid SQL: SELECT * FROM userpage WHERE userid=0; MySQL Error : Unknown column 'userid' in 'where clause' Error Number : 1054 Date : Thursday, November 17th 2005 @ 01:32:41 PM Script : http://charlie11acr.org/ Referrer : IP Address : 00.00.000.00 Username : Unregistered Classname : vb_database

Just need to get some help and then delete this plugin.

funinthesun
11-17-2005, 07:05 PM
I want to uninstall this but every time I try to uninstall the product it takes my whole forum offline :( can anybody help with this?

Bounce
11-17-2005, 08:48 PM
Installed , working perfect , well almost , admin cp > usergroups

No text is showing at the permissions ? After going through 16 pages still didn't find the answer so posting instead as easier to track lol

What phrases do i add ??


CANCEL that : found it on page 27 :rolleyes:

Still have this Q thou ??

Also it has "delete this page" for registered users.. can anyone delete a page then ??

Tradjick
11-18-2005, 12:25 AM
hIBEES: How did you manage to show it up? Because me too has the same problem that it doesn´t show up in usergroup permission page.

one9er
11-18-2005, 10:41 AM
Deleted due to lack of support! Un-installed!

funinthesun
11-18-2005, 12:57 PM
I wish I could uninstall mine, it creates an error on my forum everytime I try :(

NineToez
11-19-2005, 09:19 AM
This has got to have been the most frustrating install...

Got it to work, however it wasn't easy on 3.5.1.

ShadowOne
11-19-2005, 11:18 AM
okay, im not sure if this has been posted...but it is possible to integrate vbjournal on the personel web page and how much bandwidth and load will this cause?

Reformed
11-19-2005, 12:43 PM
Ive installed like you said but i dont get no permission options in the usergroups, any ideas whats wrong here?

Tradjick
11-20-2005, 01:39 PM
Ive installed like you said but i dont get no permission options in the usergroups, any ideas whats wrong here?

*bump

Ky Kiske
11-20-2005, 05:20 PM
Ms. Khar will this be updated for vB 3.5.1 or vB 3.5.2 if that comes out soon?

waza
11-20-2005, 06:27 PM
Hey, I really needed this, so I have made a working product & files for 3.5.1 I also added a option to moderate (edit) userpages. I'm final testing it now, release it here tomorrow, of course all credits to to amykhar.

rb290
11-21-2005, 05:24 AM
is this alot of bandwidth or anything ?

Anarchy
11-22-2005, 12:11 AM
Hey, I really needed this, so I have made a working product & files for 3.5.1 I also added a option to moderate (edit) userpages. I'm final testing it now, release it here tomorrow, of course all credits to to amykhar.


Wow can't wait.

DavidL
11-22-2005, 12:47 AM
Hey, I really needed this, so I have made a working product & files for 3.5.1 I also added a option to moderate (edit) userpages. I'm final testing it now, release it here tomorrow, of course all credits to to amykhar.
Looking forward to this. Thank you very much.

Detomah
11-22-2005, 08:02 AM
Hey, I really needed this, so I have made a working product & files for 3.5.1 I also added a option to moderate (edit) userpages. I'm final testing it now, release it here tomorrow, of course all credits to to amykhar.

Yup, as others have said, very much looking forward to this, been waiting a while for a stable version of it to come through. ;)

PsiNyde
11-22-2005, 07:15 PM
Ive installed like you said but i dont get no permission options in the usergroups, any ideas whats wrong here?


ditto. need that 3.5.1 fix. worked like a charm on my 3.5.0 tester though [sans problems]!

waza
11-23-2005, 12:39 PM
K I think this will be the first thing I release without bugs :) (in fact: i hope so).

I tested this on 2 boards and it worked twice :).

I didn't change a lot beside it now is a product and it works now on 3.5.1 but I did add some code so moderators can change other users userpages and kill shouts on people who do not have a userpage.

Grz,
seba

Vizionz
11-23-2005, 12:44 PM
how hard would it be to grab the shoutbox of users user pages and actually ad it to there profile as well

Boofo
11-23-2005, 01:04 PM
K I think this will be the first thing I release without bugs :) (in fact: i hope so).

I tested this on 2 boards and it worked twice :).

I didn't change a lot beside it now is a product and it works now on 3.5.1 but I did add some code so moderators can change other users userpages and kill shouts on people who do not have a userpage.

Grz,
seba

Can you make it so a userpage won't even show up if they don't have one? ;)

Vizionz
11-23-2005, 01:07 PM
that would be a plus :)

PaulioTheGreat
11-23-2005, 01:15 PM
hey waza, ive tryed using your modified code to try and install this on my 3.5.1 board but i cant get past the usergroups permissions part (i have been rebuilding bitfileds etc..) but still nothing :(

waza
11-23-2005, 01:22 PM
did you install the product already?
@boofo: sure, I actually have this on my own site, will first look if there are bugs, then if amykhar don't release an update, I'll post here a update with new* things.

*was thinking at: rate userpage and index page with all/top rated/most viewed userpages.

PaulioTheGreat
11-23-2005, 01:25 PM
umm, i think ive messed my board up to be honest, its only a new install as im starting up a new forum so i`ll do a clean install of my board, wont take 10 mins :) i`ll get back to you

Boofo
11-23-2005, 01:26 PM
did you install the product already?
@boofo: sure, I actually have this on my own site, will first look if there are bugs, then if amykhar don't release an update, I'll post here a update with new things.

I'll be looking forward to it. Please PM me when you have it ready. ;)

Watson
11-23-2005, 02:07 PM
Can't get it to work on 3.5.1, got rid of my errrors, but with the fix, its still not showing anything in the Usergroups

Any suggestions?

Vizionz
11-23-2005, 02:20 PM
i dont know why this is not worki9ng for yall i installed it with out a problem with the original

rebuild your bitfields and edit a phraze then just hit save

waza
11-23-2005, 03:51 PM
vizionz: Do you have 3.5.0 or 3.5.1??
@all the rest: I'll recheck on a clean 351 board.

PaulioTheGreat
11-23-2005, 06:29 PM
ok cheers waza :)

Vizionz
11-23-2005, 08:58 PM
3.51

Vizionz
11-23-2005, 08:59 PM
it worked for me right from the start on 3.51 without no changes

welo
11-24-2005, 05:31 AM
K I think this will be the first thing I release without bugs :) (in fact: i hope so).

I tested this on 2 boards and it worked twice :).

I didn't change a lot beside it now is a product and it works now on 3.5.1 but I did add some code so moderators can change other users userpages and kill shouts on people who do not have a userpage.

Perhaps I'm missing something here, although I see no product in your zip except product-budiehack.xml.

Watson
11-24-2005, 08:55 AM
i dont know why this is not worki9ng for yall i installed it with out a problem with the original

rebuild your bitfields and edit a phraze then just hit save

I got it working fine on a 3.5.0 test board, but on the 3.5.1 It showed nothing in te admin CP, not nothing where I had to edit a phrase, just no blank options at all

Watty

Hellcat
11-24-2005, 03:05 PM
Same here.
Just tried to install it into my 3.5.1 - no luck with it.
No options in the usergroup admin :(

waza
11-24-2005, 03:39 PM
Perhaps I'm missing something here, although I see no product in your zip except product-budiehack.xml.
well, then you DO see a product...

PaulioTheGreat
11-24-2005, 07:35 PM
is the buddy hack the correct product for this hack?

Tradjick
11-24-2005, 07:58 PM
Did ANYONE get to show up the options in the usergroup permissions in version 3.5.1? And if so, how? ;)

Nutz
11-24-2005, 09:44 PM
Same here.
Just tried to install it into my 3.5.1 - no luck with it.
No options in the usergroup admin :(

Same issue :ermm:

Thanks,
Mat

Anarchy
11-25-2005, 12:19 AM
Im gunna wait till someone gets this working as everyones having trouble.

Moncal
11-25-2005, 01:33 AM
Does anyone have a working uninstall script?

The Wise One
11-25-2005, 09:46 AM
Does anyone have a working uninstall script?
i just uninstalled it manually. the uninstall script included with this extension didnt work.

Hellcat
11-25-2005, 11:59 AM
Hey everyone who want's userpages with their 3.5.1 - listen up :D

I think I found the bug!
At least I got the userpages working perfectly with my 3.5.1 this morning!

Here's the fix:

Either before upload, or editing the installed one:
Open up .../includes/xml/bitfield_userpage.xml

The file starts like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<bitfields product="vBulletin">
<bitfielddefs>
<group name="ugp">


Edit it, so it looks like that:

<?xml version="1.0" encoding="ISO-8859-1"?>

<bitfields product="vbulletin">
<bitfielddefs>
<group name="ugp">


While I'm not sure if the blank line is really necessary, the important thing is that you change the product id from an uppercase "B" to a lowercase one, so it reads "vbulletin" instead of the present "vBulletin" - YES, we're talking case-sensitivity here :D

Save, eventually re-upload the file and run the buildbitfields again.
( http://www.yoursite.com/forum/admincp/index.php?do=buildbitfields )

Maybe you'll also need to do that "Open and re-save a phrase" thingy like posted pefore. I had to.

But after that the options for the userpages finally appear in the usergroupmanager and userpages are working perfectly according to set permissions.

I did this on a 1:1 testcopy of my live vB installation that I upgraded to 3.5.1 for testing the upgrade and trying out stuff.


Hope it works for you too! :)

Nutz
11-25-2005, 01:52 PM
Thank you Hellcat,
This did the trick :-)
I also had to edit one of the phrases.

Thanks,
Mat

Moncal
11-25-2005, 02:38 PM
i just uninstalled it manually. the uninstall script included with this extension didnt work.

I tried that, but I couldn't get the queries right to kill the phrases it adds.

waza
11-25-2005, 03:12 PM
No need to worry people, I just realised that I added the wrong product in my zip file ...
Srry, but I was tired ;)
However I will release in a couple of hours a new version with rating! and index with most rated, top views and last edited!

grz,
seba

waza
11-25-2005, 03:56 PM
k, people here it is, run uninstaller if already installed, overwrite/install product, overwrite userpage.php & bitfield_userpages.xml and rebuild bitfields.

Some enhancements:
Rate userpages (once per user) + show rate in list page
Index page with most views, top rated & last updated userpages
Error message if a userpage doesn't exist.

grz,
seba

EDIT: LAST NEW ZIP FILE ON 26-11-05

Ky Kiske
11-25-2005, 06:26 PM
So will this work with a fresh install?

The Wise One
11-25-2005, 07:26 PM
I tried that, but I couldn't get the queries right to kill the phrases it adds.
i opened up the install file and then went into phpmyadmin and deleted the tables and added fields manually...not sure if you are setup to do that though.

i tried the uninstall script once and it failed miserably...thats why i did it manually. havent tried the update that waza put together yet.

AWS
11-25-2005, 08:53 PM
Installed. Thanks for this amykhar.

Skyline_GT
11-26-2005, 12:08 AM
k, people here it is, run uninstaller if already installed, overwrite/install product, overwrite userpage.php & bitfield_userpages.xml and rebuild bitfields.

Some enhancements:
Rate userpages (once per user) + show rate in list page
Index page with most views, top rated & last updated userpages
Error message if a userpage doesn't exist.

grz,
seba

EDIT: ATTACH BACK ONLINE

IT doesn't work.. I still can't see the usergroup permission thing..

waza
11-26-2005, 08:34 AM
IT doesn't work.. I still can't see the usergroup permission thing..
Hmm, I did a little edit, and I did a fresh install on a clean board and a upgrade and they both worked.
So delete the product and install the new one.
make sure you have overwritten bitfield_userpages.xml & userpage.php
rebuild bitfields
It must work if you do all these steps

Boofo
11-26-2005, 12:07 PM
Hmm, I did a little edit, and I did a fresh install on a clean board and a upgrade and they both worked.
So delete the product and install the new one.
make sure you have overwritten bitfield_userpages.xml & userpage.php
rebuild bitfields
It must work if you do all these steps

Do I need to upgrade from the version I downloaded in the link in your PM? ;)

Watson
11-26-2005, 04:29 PM
heh, removed the whole thing, then tried a completely fresh install. Still nothing :(

[edit]Scrap that, seem to have sorted it now :)

Thanks for this update :)

EasyTarget
11-26-2005, 05:19 PM
hey waza, can you provide some code that will make it so if someone has a userpage and you click on their name in a post that you'll have the option to view/visit their page? Also in their profile if its not already there? thanks.

waza
11-26-2005, 06:21 PM
Do I need to upgrade from the version I downloaded in the link in your PM? ;)
I don't know what version you downloaded, it was in the same post.
If everything works you shouldn't upgrade

waza
11-26-2005, 06:30 PM
hey waza, can you provide some code that will make it so if someone has a userpage and you click on their name in a post that you'll have the option to view/visit their page? Also in their profile if its not already there? thanks.
Hey,
Do the following (not tested, but it should work):
make a new plug-in in member_complete:
give it a name and add this code to it:

$hasuserpageresult=$db->query_read("SELECT id FROM ".TABLE_PREFIX."userpages WHERE userid=".$userinfo['userid']."");
$hasuserpage=$db->num_rows($hasuserpageresult);


Then add somewhere in your MEMBERINFO template:
<if condition="$hasuserpage">
<a href="userpage.php?u=$userinfo[userid]">Visit $userinfo[username] 's userpage</a>
</if>

grz

EasyTarget
11-27-2005, 05:30 AM
thanks, I'll give that a try.

Snoop-It
11-27-2005, 03:55 PM
OR do a simple way...

<td class="alt2"><div class="smallfont" align="left"><a href="userpage.php?do=main&userid=$userinfo[userid]">View My Personal Webpage</a></div></td>

Thats what i chose to do, and it works fine! It automatically links any one who has chosen to create a userpage thing...

Example - check my profile.. www.dholaholic.com/forum/jazz :)

Tradjick
11-27-2005, 06:23 PM
waza, i just get the tables "userpage" and "usershout" removed. The others remain. Could you update you script, so that it makes a "hard"-install, please?

waza
11-27-2005, 06:36 PM
OR do a simple way...

<td class="alt2"><div class="smallfont" align="left"><a href="userpage.php?do=main&userid=$userinfo[userid]">View My Personal Webpage</a></div></td>

Thats what i chose to do, and it works fine! It automatically links any one who has chosen to create a userpage thing...


Uhu but it also shows it for people who don't have a userpage...

@tradjick: I don't get you, can you say more specific what you want to do?

Tradjick
11-27-2005, 07:14 PM
@tradjick: I don't get you, can you say more specific what you want to do?

I?m trying to delete those tables, so that i can install the product. Cause this is the error that i get otherwise:

Database error in vBulletin 3.5.1:

Invalid SQL:
CREATE TABLE vb3_userpage (
userid int(15) unsigned NOT NULL default '0',
pagedata text NOT NULL,

(and so on...)

amykhar
11-27-2005, 07:16 PM
Here's a product you can use that won't wipe out your data.

Tradjick
11-27-2005, 07:57 PM
Here's a product you can use that won't wipe out your data.
Thank you, miss, much appreciated! It?s up and working now!

Tradjick
11-27-2005, 08:11 PM
One question though: How can i get the navbar to show up under the header? In userpage_home template, i tried this, but it´s not working:

$stylevar[htmldoctype]
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$navbar
<tr>
<td class="tcat" colspan="3">Userpages Home OOO</td>
</tr>
<tr>
<td class="thead" width="5%">

Moncal
11-27-2005, 08:25 PM
Uhm...does the new product create the database tables?

http://www.secondwar.net/member.php?u=1

amykhar
11-27-2005, 10:12 PM
Moncal, the one in the base directory does. The one in the upgrade directory does not. And, I don't see the relevance of the link you posted to a profile page? This mod doesn't touch profile pages.

Anarchy
11-27-2005, 10:14 PM
Hey,
Do the following (not tested, but it should work):
make a new plug-in in member_complete:
give it a name and add this code to it:

$hasuserpageresult=$db->query_read("SELECT id FROM ".TABLE_PREFIX."userpages WHERE userid=".$userinfo['userid']."");
$hasuserpage=$db->num_rows($hasuserpageresult);


Then add somewhere in your MEMBERINFO template:
<if condition="$hasuserpage">
<a href="userpage.php?u=$userinfo[userid]">Visit $userinfo[username] 's userpage</a>
</if>

grz

How do i add a plugin unde memberr_complete. can't find that anywhere...

Anarchy
11-27-2005, 10:18 PM
Can I request the ability for the members who post shouts to be able to edit their own shouts, I only installed this plugin last night and already got two people asking how they can edit their own shouts they made to other people.

Anarchy
11-27-2005, 10:33 PM
Also limiting the votes on someones userpage to once or once per month or something.

Anarchy
11-27-2005, 11:09 PM
Also the report doesn't seem to be working

http://www.toontowncentral.com/forums/userpage.php?do=main&userid=23416

BiReL41r
11-27-2005, 11:18 PM
Nice hack, will think of installing. Gotta save some bandwith.

Moncal
11-28-2005, 02:46 AM
Moncal, the one in the base directory does. The one in the upgrade directory does not. And, I don't see the relevance of the link you posted to a profile page? This mod doesn't touch profile pages.

I installed the product in the root folder and it didn't create the tables.

When I go to a profile page I get an sql error telling me that the userpage table doesn't exist. You didn't get it when you visited the page because I disabled the plugin so that I wouldn't get a bunch of error emails.

Database error in vBulletin 3.5.1:

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

MySQL Error : Table 'moncal_forum.userpage' doesn't exist
Error Number : 1146
Date : Sunday, November 27th 2005 @ 10:42:54 PM
Script : http://www.secondwar.net/member.php?u=2
Referrer : http://www.secondwar.net/showthread.php?p=30786
IP Address :
Username : Moncal
Classname : vb_database

Edit: I've also noticed that the error occurs on other pages such as usercp.php and arcade.php...odd.

amykhar
11-28-2005, 04:44 AM
Moncal, I see the queries in the product file. It uses prefixes properly. I am not sure why you are having this error. If the tables aren't there - visually inspect your database to make sure - then manually install the tables for now. I don't have the time to set up another fresh test board to test waza's product.

I am assuming you know how to do this given you are tinkering with a beta mod ;)

croportal
11-28-2005, 04:58 PM
when i try to set the permsiosn this show up

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

amykhar
11-28-2005, 05:00 PM
Sounds like you need to rebuild the bitfields. The product should have handled this automatically, but I'm not certain when you downloaded or what you installed. So, just to be safe, rebuild them.

croportal
11-28-2005, 05:02 PM
Sounds like you need to rebuild the bitfields. The product should have handled this automatically, but I'm not certain when you downloaded or what you installed. So, just to be safe, rebuild them.


how can i rebuild them??

tteal
11-28-2005, 05:02 PM
Sounds like you need to rebuild the bitfields. The product should have handled this automatically, but I'm not certain when you downloaded or what you installed. So, just to be safe, rebuild them.

Amy,
Did you read any of my issues that i had with this mod?

croportal
11-28-2005, 05:04 PM
i have uploaded again bitfield_userpage.xml to includes/xml directory and the sam nothing

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

EasyTarget
11-28-2005, 05:29 PM
Hey,
Do the following (not tested, but it should work):
make a new plug-in in member_complete:
give it a name and add this code to it:

$hasuserpageresult=$db->query_read("SELECT id FROM ".TABLE_PREFIX."userpages WHERE userid=".$userinfo['userid']."");
$hasuserpage=$db->num_rows($hasuserpageresult);


Then add somewhere in your MEMBERINFO template:
<if condition="$hasuserpage">
<a href="userpage.php?u=$userinfo[userid]">Visit $userinfo[username] 's userpage</a>
</if>the first part (plugin section) gave a database error which made the memberlist unviewable. also, how could I add the Visit X's userpage to the postbit pulldown menu under a user's name, but only for users that have a page? (where it says view profile, send a pm, find posts, add to budyylist)

ChrisBaktis
11-28-2005, 10:01 PM
Before I port over to 3.5.1 and install this hack can you tell me if there are settings so the admin can turn off the rating and shoutbox features so the member only gets a basic profile page.

Moncal
11-29-2005, 01:34 AM
Moncal, I see the queries in the product file. It uses prefixes properly. I am not sure why you are having this error. If the tables aren't there - visually inspect your database to make sure - then manually install the tables for now. I don't have the time to set up another fresh test board to test waza's product.

I am assuming you know how to do this given you are tinkering with a beta mod ;)

Finally got it. The url rewrite doesn't work and the rating popup is screwed up in Opera.

croportal
11-29-2005, 01:36 AM
anoyne know, its urgent

i have uploaded again bitfield_userpage.xml to includes/xml directory and the sam nothing

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

MissKalunji
11-29-2005, 12:41 PM
Moncal, I see the queries in the product file. It uses prefixes properly. I am not sure why you are having this error. If the tables aren't there - visually inspect your database to make sure - then manually install the tables for now. I don't have the time to set up another fresh test board to test waza's product.

I am assuming you know how to do this given you are tinkering with a beta mod ;)


hey i wanted to know how can i let the user change the background color or adding their own background picture and all....so they wouldnt see the msg board skin?

thanks in advance

amykhar
11-29-2005, 01:30 PM
This mod is not designed to do that. If you know how to code, feel free to hack it to suit your needs.

MissKalunji
11-29-2005, 01:32 PM
This mod is not designed to do that. If you know how to code, feel free to hack it to suit your needs.

im not that advance....if i pay you would you be able to do it?

Thanks

waza
11-29-2005, 02:23 PM
the first part (plugin section) gave a database error which made the memberlist unviewable. also, how could I add the Visit X's userpage to the postbit pulldown menu under a user's name, but only for users that have a page? (where it says view profile, send a pm, find posts, add to budyylist)
Hey,

First: The plug-in doesn't affect memberlist but member's profile page ...

Second: I had a look and the query was incorrect, this is the correct one:

$hasuserpageresult=$db->query_read("SELECT userid FROM ".TABLE_PREFIX."userpage WHERE userid=".$userinfo['userid']."");
$hasuserpage=$db->num_rows($hasuserpageresult);

waza
11-29-2005, 02:26 PM
Finally got it. The url rewrite doesn't work and the rating popup is screwed up in Opera.
For the url rewrite amy has to help you.
But the rating popup is my work. I only use FF but it looks like IE & opera are not showing this correctly.
I'll try to fix it asap

EasyTarget
11-29-2005, 05:28 PM
Hey,

First: The plug-in doesn't affect memberlist but member's profile page ...I was able to view profiles find, but the memberlist had the db error. When I disabled the code the memberlist was back to normal.

I'll try the new one out in a sec, thanks.

pcoskat
11-29-2005, 08:38 PM
This mod is not designed to do that. If you know how to code, feel free to hack it to suit your needs.

Coupla questions...

When a member sets up their page, is there a clickable icon, or something added to their postbit, to indicate that they HAVE a page?

Also, is the member 'alerted' when someone posts in their shoutbox?

Emil
11-30-2005, 01:10 PM
Ok I installed this and now I'm having big problems.

Now when I try to edit a usergroup in the usergroup manager, all I get is:

"Rebuilt Bitfields Successfully"

And the page just refreshes and goes back to that message all the time. I can't get pass that so now I can't edit any of my usergroups anymore.

I tried to delete everything I did, but that didn't help anything.

Please help me fix this. Thanks!

waza
11-30-2005, 01:33 PM
I was able to view profiles find, but the memberlist had the db error. When I disabled the code the memberlist was back to normal.

I'll try the new one out in a sec, thanks.
Ow, I know what it is, well it just has to do there are some tables missing.

@Emil: I don't think this has to do with this hack. That message should normal redirect you to the usergroup options.

waza
11-30-2005, 01:35 PM
Coupla questions...

When a member sets up their page, is there a clickable icon, or something added to their postbit, to indicate that they HAVE a page?

Also, is the member 'alerted' when someone posts in their shoutbox?


No for both of the questions.

Emil
11-30-2005, 02:59 PM
Well, it happened when I installed this. And now I can't get it back to normal :( :( :(

croportal
11-30-2005, 03:03 PM
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

when i go to permisions eror apears: Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

waza
11-30-2005, 05:01 PM
Well, it happened when I installed this. And now I can't get it back to normal :( :( :(
if you de-activate the product? If you still get the error then delete bitfield_userpage.xml, if you still get the error it has nothing to do with this hack If it is resolved try to do a re-install.

Emil
11-30-2005, 07:03 PM
if you de-activate the product? If you still get the error then delete bitfield_userpage.xml, if you still get the error it has nothing to do with this hack If it is resolved try to do a re-install.
I re-installed the product again and then uninstalled it again and now it seems to be working fine again :) Sorry for any inconvinience this may have caused.

amykhar
11-30-2005, 11:21 PM
I've seen that happen on other mods. I think it's a glitch with the rebuilding the bitfields through the products - not this one specifically.

fulleffect
12-01-2005, 08:24 AM
Hi

when i create a userpage, in the page content editor, there isn't the icon to add an image. (the yellow icon).


also the url rewrite doesn't seem to be working, doesn't it work with 3.5.1?

i.e: when you type www.domain.com/forum/user it doesn't come up with their userpage.

where am i going wrong please?


Thanks!

amykhar
12-01-2005, 10:17 AM
1. I am not sure why some people have the problems with the image. I believe it has something to do with your forum settings, but have never been given enough data from those affected to know.
2. The url rewrite depends on you having mod_rewrite and on you installing the .htaccess file. I am no longer using it and can't test it with 3.5.1 because I am using vbseo.