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)

firstrebel 12-22-2005 02:41 PM

I have just installed this on my 3.5.2 dev site and the htaccess file is causing a problem, I get the Internal Server Error message in the browser and the entire forum is blocked. I have a ProLiant G4 server with RHESL-4 and Apache 2.0.x

It seems to work OK if I remove it. It is required?

Also the table edges in the new user page are not in line, see attached.

Bob

djnth 12-22-2005 08:26 PM

Thank you that worked out nicely. Now I'm looking for the code to display the User's Profile Photo and Avatar. I would like to have the avatar show up next to the user's name in the list of User Pages. If you know the code to display those two images I would be very grateful.

Also I'm having the same problem as the person posted before me about the tables not lining up. Any suggestions on how to remdy this?

Quote:

Originally Posted by waza
@djinth, You can add them as custom user fields and then those show up in members profile, if you also want to show them in userpage, you'll have to add something like:
$userinfo[fieldcustomfieldid] where customfield id is the id of the custom field (like $userinfo[field30]
And then you plase those in the userpage template.

grz,
seba


djnth 12-22-2005 08:36 PM

Actually when I removed the code for the Page Rating everything lined up perfectly.

MissKalunji 12-23-2005 05:02 AM

i dont wanna upgrade the whole thing cause i modded it

how can i add just the rating system?


heres what i get

http://www.dancehallareaz.com/forum/userpage.php

and heres the userpage

http://www.dancehallareaz.com/forum/misskalunji

when i add the if for the rating system nuthing shows up

waza 12-23-2005 06:22 AM

@djinth: there's a error in the html, cus it shows up as expected in firefox.
However, I promised to fix it, but still didn't had time, srry.

@firestar.ckn: this just makes that they don't have to be called from the database every time, but it doesn't brake anything.

@misskulanji: Is that like you want it to show up?
If you don't want userpage like that you will have to open userpage template
add to the beginning:
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>

<title>$vboptions[bbtitle] - $pagetitle</title>
$headinclude

</head>
<body$onload>
$header
$navbar

& add to the end
Code:

$footer
</body>
</html>

For only adding the rating system you will need to do an upgrade or look @ the code & merge it, I can't say right now what you will have to change exactly.

MissKalunji 12-23-2005 06:24 AM

Quote:

Originally Posted by waza
@djinth: there's a error in the html, cus it shows up as expected in firefox.
However, I promised to fix it, but still didn't had time, srry.

@firestar.ckn: this just makes that they don't have to be called from the database every time, but it doesn't brake anything.

@misskulanji: Is that like you want it to show up?
If you don't want userpage like that you will have to open userpage template
add to the beginning:
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>

<title>$vboptions[bbtitle] - $pagetitle</title>
$headinclude

</head>
<body$onload>
$header
$navbar

& add to the end
Code:

$footer
</body>
</html>

For only adding the rating system you will need to do an upgrade or look @ the code & merge it, I can't say right now what you will have to change exactly.


i did the upgrade.....

but when i add the <if> nuthing shows up.......

i added teh table

did the template's edits also....

djnth 12-24-2005 06:52 AM

Anyone know of a simple shout box like the one on this mod that could be added to events on the calendar?

MissKalunji 12-25-2005 12:40 PM

Quote:

Originally Posted by MissKalunji
i did the upgrade.....

but when i add the <if> nuthing shows up.......

i added teh table

did the template's edits also....

i figured it out the code wasnt working

that one is
Quote:

<if condition="$canrate">
<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> <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> <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> <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> <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>
<else />
<td class="tcat" nowrap="nowrap" width="25%" align="right">
<img src="$stylevar[imgdir_rating]/rating_$rating.gif" border="0">
</td>
</if>


croportal 12-26-2005 11:29 AM

how can i remove this from vbulletin

MissKalunji 12-26-2005 12:12 PM

Quote:

Originally Posted by croportal
how can i remove this from vbulletin

?!?!?!?!? what do you meant !?!?!


All times are GMT. The time now is 12:59 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.02336 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (5)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