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)

KimmiKat 06-02-2006 04:34 AM

Are the changes posted anywhere? I couldn't find anything via the search and had a member put malicious javascript that to a not so nice site. Thanks.

Quote:

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


buyinflatables 06-02-2006 06:35 AM

Will this work on 3.5.4? If so where can I obtain the latest version?

Any help would be greatly appreciated.

peterska2 06-02-2006 06:38 AM

Yes it works with 3.5.4

The latest version is the one attached to the first post of the thread (top of each page)

calldaffer 06-05-2006 01:57 PM

Alright, I searched this thread and didn't find my answer. Forgive me if I overlooked it.

I've had this hack installed for alittle while now and thought it was working fine. It's been kinda in the background because I'm making it part of a premium feature on my site. Thus far its only been usable by admins and its worked great.

I recently revealed the hack as part of a premium package and now I have permissions set for only admins and diamond members to be able to create/edit their pages. I still have no problems with admins but when I add someone to my diamond usergroup they can see the link in their user cp but when the click create userpage they get this:

Quote:

you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I've checked the usergroups permissions and they have permission to create and edit their pages. I'm at a loss as to what to do now

amykhar 06-05-2006 02:02 PM

When did you originally install? This has been updated because the way vbulletin handled permissions changed at some point. Make sure you have the latest version.

calldaffer 06-06-2006 02:11 AM

Quote:

Originally Posted by amykhar
When did you originally install? This has been updated because the way vbulletin handled permissions changed at some point. Make sure you have the latest version.

1.0.1 is the version I am running. To update, do I just download again and upload the xml only?

njolakoski 06-06-2006 04:48 AM

okay, I can not get this to work, after I transfer the .hta access file, it shuts the whole board down..

calldaffer 06-06-2006 02:12 PM

Alright, now I have bigger problems. I tried redownloading the zip and did the upgrade from previous version and its all twacked out now. When I enable the product I get this:

Quote:

Database error in vBulletin 3.5.4:

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

MySQL Error : Table 'gamingevolved.userpage' doesn't exist
Error Number : 1146
Date : Tuesday, June 6th 2006 @ 11:12:39 AM
Script : http://gamingevolved.com/forums/index.php
Referrer : http://gamingevolved.com/forums/member.php?u=2849
IP Address : --.---.--.---
Username : Poseidon
Classname : vb_database
When I try to uninstall I also get that. So the only way I can get my forums to work is to disable the product. Help please :(

calldaffer 06-08-2006 01:50 AM

Quote:

Originally Posted by calldaffer
Alright, now I have bigger problems. I tried redownloading the zip and did the upgrade from previous version and its all twacked out now. When I enable the product I get this:



When I try to uninstall I also get that. So the only way I can get my forums to work is to disable the product. Help please :(

Anyone?

Keyser S?ze 06-08-2006 11:19 PM

ive said this before, but in the upgrade the mod version still says 1.0.1, ive upgraded a few times and it still says the old version number

jeffj 06-09-2006 12:26 AM

if this mod allowedd you to upload and insert pics it would rule...

but it doesn't - it's very nice, but it doesn't rule..

Neo_obs 06-18-2006 04:37 AM

Would there be anyway to add text to a signature on when their userpage was last updated? like you have on the bottom userpages themselves?

sam anders 06-18-2006 02:30 PM

thank you nice mod :)

Miss Tiina 06-18-2006 09:13 PM

Quote:

Originally Posted by Neo_obs
Would there be anyway to add text to a signature on when their userpage was last updated? like you have on the bottom userpages themselves?


That would be awesome, or even just the code to add a link in the profile fields to show the link to each users page if they have created one. :)

Eq4bits 06-18-2006 11:03 PM

Quote:

Originally Posted by Miss Tiina
That would be awesome, or even just the code to add a link in the profile fields to show the link to each users page if they have created one. :)

There's already instructions for doing that, is in the Updates: https://vborg.vbsupport.ru/showp...&postcount=970 Link

As for adding to someone's signature they should be able to do that if the forum settings allow links in signatures. Just go to your userpage, copy the location from the address bar and use it as a link for the words 'My Personal Page' when editing signature in usercp.

Miss Tiina 06-19-2006 03:23 AM

Quote:

Originally Posted by Eq4bits
There's already instructions for doing that, is in the Updates: https://vborg.vbsupport.ru/showp...&postcount=970 Link

Ahh oopsie, thank you!

Neo_obs 06-19-2006 03:48 AM

sorry if i phrased it wrong but i want it set up so it shows the date they last updated their page with a link to their page. so like in the signature it would be like

__________________________________________________ _____
I updated my userpage on June 18th, 2006 at 9:47 PM

MissKalunji 06-20-2006 04:05 PM

OK what She and i are trying to do is show the link IN THE POSTBIT

when we use this

Code:

<a class="smallfont" href="userpage.php?do=main&userid=$userinfo[userid]">View My page</a>
it only shows the PERSON viewing the thread id...what am i doing wrong?

MadKad 06-20-2006 05:42 PM

OK great Mod I have installed and clicked :D, here are some things I would like to tell others just incase they hevent been said before,

I added the links to my User CP and my Quick Links list, to add your links to the Quick Links list just do as follows:

Open Template > navbar

Find:
Code:

$vbphrase[whos_online]</a></td></tr></if>
After Add:
Code:

<if condition="$show['createuserpagelink']"><tr><td class="vbmenu_option"><a href="userpage.php?$session[sessionurl]do=create">Create Your Userpage</a></td></tr></if>
        <if condition="$show['edituserpagelink']"><tr><td class="vbmenu_option"><a href="userpage.php?$session[sessionurl]do=edit">Edit Your Userpage</a></td></tr></if>

And thats it you will add the links needed after the Who's Online.

Now for my other part the user page I found a Bug this is more for the great maker of this Mod, There was some code missing and it made errors with the rating section, Now I didnt fix it fully I just made it so the drop down box worked, but couldnt get the text "Rate this page" on where it should be. Here is my code:

HTML Code:

$stylevar[htmldoctype]
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr><td class="tcat" width="25%">Views: $pageviews</td><td class="tcat" width="50%"  align="middle">
<a href="private.php?do=newpm&u=$userinfo[userid]">Send a Private Message to $userinfo[username]</a>
               
        </td>
<if condition="$canrate">
<td class="tcat" id="rate" nowrap="nowrap" width="25%" align="right"><a href="#rate">$vbphrase[rate_userpage]</a>
<script type="text/javascript"> vbmenu_register("rate"); </script>
</td>
<else />
<td class="tcat" nowrap="nowrap" width="25%">
<img src="$stylevar[imgdir_rating]/rating_$rating.gif" border="0">
</td>
</if>

</tr>
</table>


<if condition="$show['popups']">
<div class="vbmenu_popup" id="rate_menu" style="display:none">
<form action="userpage.php" method="post">
<input type="hidden" name="do" value="rate">
<input type="hidden" name="userid" value="$userinfo[userid]">
        <table cellpadding="4" cellspacing="1" border="0">
        <tr>
                <td class="thead">$vbphrase[rate_userpage]<a name="goto_threadrating"></a></td>
        </tr>
       


        <tr>
                <td class="vbmenu_option" title="nohilite">
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="rating" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="rating" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="rating" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="rating" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
                <div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="rating" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
                </td>
        </tr>
        <tr>
                <td class="vbmenu_option" title="nohilite" align="center">
                        <input type="hidden" name="s" value="$session[dbsessionhash]" />
                        <input type="hidden" name="t" value="$threadid" />
                        <input type="hidden" name="pp" value="$perpage" />
                        <input type="hidden" name="page" value="$pagenumber" />
                        <input type="submit" class="button" value="$vbphrase[vote_now]" />
                </td>
        </tr>
        </table>
</form>
</div>
</if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

        <tr>
<td class="alt2" width="50%"  align="left">
<if condition="$showmodlink">
        <a href="userpage.php?do=killpage&ownerid=$userinfo[userid]">Delete This Page</a>&nbsp;<a href="userpage.php?do=edit&userid=$userinfo[userid]">Edit This Page</a><else />&nbsp;</if>
        </td>

<td class="alt2" width="50%" align="right">
        <a href="userpage.php?do=report&userid=$userinfo[userid]">Report This Page</a>
        </td>

</tr>

        <tr><td class="alt1" width="100%" colspan="2">

                $pagedata

</td>
</tr>
</table>
$shouthtml
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td align="left" class="tcat">$lastupdate</td>
<td align="right" class="tcat">
<if condition="$showeditlink"><a href="userpage.php?do=edit">Edit Your Page</a><else /><if condition="$showcreatelink"><a href="userpage.php?do=create">Create Your Page</a></if></if>
<if condition="$showmodlink">&nbsp;&nbsp;<a href="userpage.php?do=moderate&userid=$userid">Moderate This Page</a></if>
</td></tr>
<tr><td width="100%" colspan="2" class="alt1" align="center"><span class="smallfont">Powered by <strong>Custom Userpages</strong> by <strong> <a href="http://www.eaforums.com/forums/">Amy Anuszewski</a><strong></span></td></tr>
</table>

I cant remember fully what I changed lol it was yesterday and thats a long time ago for me, these are all in the userpage template, if anyone is having problems copy and paste that code if you like :)

One more thing, on the userpage_edit template I changed that around a little so that I could add some rules to the page to make it less empty and so my members do as there told :D this is the code and what I did on the userpage_edit template:

HTML Code:

$stylevar[htmldoctype]
<if condition="!is_browser('webtv')">
<form action="userpage.php?do=doedit" method="post" enctype="multipart/form-data"  onsubmit="return vB_Editor['$editorid'].prepare_submit(this.title.value, 0)">
</if>
<input type="hidden" name="userid" value="$userid">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1">
<strong>Page Content</strong> <br /> $messagearea
</td>

<!-- Mad Kad's addon -->
<td rowspan="2" class="alt2" width="400" valign="top">
<strong>Page Rules</strong><br />
Page rules type here
</td>
<!-- Mad Kad's addon -->

</tr>
<tr>
<td align="right" class="alt2">
<input type="submit" name="submit" value="Save" />
</td>
</tr>
</table>
</form>

I know that it meens you have to add text in your template but I like the idea of the rules where people can see them :) and I would love to also get a link next to the users posts when they have a userpage :banana:

peterska2 06-20-2006 10:53 PM

Quote:

Originally Posted by MissKalunji
OK what She and i are trying to do is show the link IN THE POSTBIT

when we use this

Code:

<a class="smallfont" href="userpage.php?do=main&userid=$userinfo[userid]">View My page</a>
it only shows the PERSON viewing the thread id...what am i doing wrong?

Try

Code:

<a class="smallfont" href="userpage.php?do=main&userid=$post[userid]">View My page</a>

MadKad 06-20-2006 11:33 PM

Quote:

Originally Posted by peterska2
Try

Code:

<a class="smallfont" href="userpage.php?do=main&userid=$post[userid]">View My page</a>

I havent tried this yet, but what about doing one that will only show up as My Page say next to the username on there posts if they have made a page?

Wifey 06-21-2006 05:21 AM

This hack is great! I have a question though, how much in terms of bandwidth and space usage are we talking about with this? My members would love it, but my board is very large and I'm not wanting to pay more monthly for the site...

Thanks!

ltaylor 06-21-2006 11:27 AM

Thanks for the great hack! I'll be installing later this afternoon !

MissKalunji 06-22-2006 01:30 PM

Quote:

Originally Posted by peterska2
Try

Code:

<a class="smallfont" href="userpage.php?do=main&userid=$post[userid]">View My page</a>

Workeddd thanks :banana:

htscpl 06-22-2006 07:10 PM

Sorry, I had to un-install this one. I was having problems with members not being able to see their pages or even start their pages ??? I am sure it is a conflict with some other installed hack. I'll try again later when I have more time to mess with it

Good idea though.

Henry :surprised:

jerx 06-23-2006 07:55 AM

The userpage is created automatically for new users, right?
How can I mass create userpages for existing users, eg using phpMyAdmin?

doggy1 06-24-2006 10:01 AM

Hello. I have been trying to fix the report a page bug, but have not been able to get it work. When you click on the page it doesn't do anything but blank the page out. I don't know where the message, if any, is being sent?

I did the edit that was described and still no go. Anyone else been able to get this to work? Thanks.

Dilldogs 06-24-2006 06:47 PM

Ok, I am learning so I have this whole install down and I am sure I can do it except I am confused about one thing.

In the installation text it has this:

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>

Is this the right link and where would you recommend I put this?

doggy1 06-24-2006 09:01 PM

Quote:

Originally Posted by Dilldogs
Ok, I am learning so I have this whole install down and I am sure I can do it except I am confused about one thing.


In the installation text it has this:

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>


Is this the right link and where would you recommend I put this?

Okay, I am learning, too, but I can actually answer this question. I will try to help out here.

Admin CP>Styles and Templates>Style Manager> << >> > All template groups>navbar> Place that code where you like to have it show up on the navbar> Save

Shoot me a PM if you need more help and/or if you want to see how mine is set up.

Good luck! :)

stonner 06-24-2006 09:45 PM

when will the planned features be implemented?

thanks for the great hack!

MadKad 06-24-2006 11:05 PM

Yer I cant wait till the Planned Features are added I love the sound of them :D

futuredood 06-29-2006 06:20 PM

great i'm installing this on 3.5.4 now. i have 2 questions in case anyone runs by this (i thumbed through the last 10 pages of thread)..

1) is their still no way to uninstall this without an SQL error?
2) is their any if conditions to show a link only if the user has a page up?

Eq4bits 06-30-2006 02:59 AM

Quote:

Originally Posted by jeffj
if this mod allowedd you to upload and insert pics it would rule...

but it doesn't - it's very nice, but it doesn't rule..

you can insert pics using either the image icon in the editor or by typing the bbcode (old fashioned way) as long as you have the url of the pic (but please don't illegally hot-link ;)

MadKad 07-01-2006 06:24 PM

ok well I will ask a different question!!!


What code has to be added to make it show on the who is online that a user is in this section?

Skedoozy 07-04-2006 05:17 AM

Quote:

Originally Posted by Eq4bits
you can insert pics using either the image icon in the editor or by typing the bbcode (old fashioned way) as long as you have the url of the pic (but please don't illegally hot-link ;)

I think he means to say there is no Insert Image button in the editor on the user pages. I dont know why it's not there either. My users ask me where it is.

Also for some reason the link to edit their page isnt showing up for some of my users. They have permission to do so but its not there.

cdoyle 07-05-2006 11:39 PM

Hi,
How many are using this on a live forum? I was thinking about giving it a try, but seen some of the bugs that are listed, and just wanted to see if anyone is having any other problems?

I tried it on my test forum, and noticed that when I tried to uninstall it, I get blank options in my usergroup permissions. Then if I try and make any changes I get an SQL error.

I found reinstalling the hack, brought the options back and got rid of the errors.

Is there an update on the way that fixes some of the already mentioned problems?

Eq4bits 07-05-2006 11:42 PM

I'm running it, no problems at all
fixes if needed are in the posted 'post link' in Amy's original thing up there at the top of the thread
Updates: https://vborg.vbsupport.ru/showp...&postcount=970
also when uninstalling you may need to physically go into any templates that you 'physically' had to change and make changes also... also check to be sure database fields were actually dropped/deleted with the uninstall script... i think it's the ***_user table, also (since I can't remember if any additional tables were added with the install or not..) check and be sure any 'added' tables were dropped also.

cdoyle 07-05-2006 11:53 PM

I just noticed something else, and don't see it discussed anywhere.

On my test forum, on the page where the word 'rating' should be. it's not there. All you see is the little down arrow. The only way I found where to rate a page, is by looking at the examples here.

Any ideas to why that's happening?

Also, I've been reading through all the pages, in regards to the 'report this page' feature.

I've set my forum ID to 2 on the userpage.php file
$forumid = 2;

Now I've been trying to test this, and when I hit the link, all that comes up is a blank page with the nav bar, and the footer. And I never see anything posted within the forum?

It should make the post in the forum right away shouldn't it? And shouldn't there be something for the user to know it actually reported the page? Or is there something just not right here?

Tyegurl 07-06-2006 12:18 PM

i put this up on a test forum 3.6.0 beta works well ty amy....

cdoyle 07-06-2006 06:35 PM

anyone have any idea how to fix the 2 problems I'm having?

I'm looking through the FAQ and I'm not seeing my problems listed.


All times are GMT. The time now is 08:58 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.02472 seconds
  • Memory Usage 1,892KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_html_printable
  • (14)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