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)

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

Quote:

Originally Posted by waza
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

Quote:

Originally Posted by Vizionz
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

Quote:

Originally Posted by welo
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

Quote:

Originally Posted by Hellcat
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

Quote:

Originally Posted by Moncal
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:
Code:

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

Edit it, so it looks like that:
Code:

<?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

Quote:

Originally Posted by The Wise One
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

Quote:

Originally Posted by Moncal
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

Quote:

Originally Posted by waza
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

Quote:

Originally Posted by Skyline_GT
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

Quote:

Originally Posted by waza
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

Quote:

Originally Posted by Boofo
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

Quote:

Originally Posted by EasyTarget
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:
PHP Code:

$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:
HTML Code:

<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

Quote:

Originally Posted by dholaholic
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

Quote:

Originally Posted by waza
@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

Quote:

Originally Posted by amykhar
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

Quote:

Originally Posted by waza
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:
PHP Code:

$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:
HTML Code:

<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.


All times are GMT. The time now is 06:48 AM.

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.02813 seconds
  • Memory Usage 1,842KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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