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)

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>


All times are GMT. The time now is 04:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02375 seconds
  • Memory Usage 1,797KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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