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

croportal 12-26-2005 12:19 PM

this hack give a user a custom page on your site

i have installed, and now i want to remove

Lena Starling 12-27-2005 02:15 AM

I followed all of the instructions and I've only encountered a few newbish problems:

1) I went to Usergroups, chose a usergroup, and tried to edit permissions, but I didn't see an area that enabled the usergroup to use this extension. So none of my groups, not even Administrators, can use this wonderful hack right now. Help?

2) There's no seperate catagory for it in the AdminCP (like Styles & Templates, Languages & Phrases, etc).

Did I forget to upload something..?

croportal 12-27-2005 07:34 AM

Quote:

Originally Posted by croportal
this hack give a user a custom page on your site

i have installed, and now i want to remove


anyone know how can i remove this, and templates change

i remove the product, i remove userpage.php from forum root and what else

firstrebel 12-27-2005 09:57 AM

Quote:

Originally Posted by firstrebel
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?

Can anyone tell me if it is OK to run this without the htaccess file?

Bob

MissKalunji 12-27-2005 10:12 AM

Quote:

Originally Posted by firstrebel
Can anyone tell me if it is OK to run this without the htaccess file?

Bob

yes the .htaccess is only to rewrite so you could access the userpage by http://yourdomain.com/username

firstrebel 12-27-2005 10:29 AM

Thanks. I assume it depends on how Apache is configured.

"Install"

Bob

waza 12-27-2005 12:10 PM

@lena starling: check if you have uploaded the bitfield xml.
Maybe U use an older version, if so, you can do this:
open bitfield xml, replace vBulletin with vbulletin.
you could also search this thread for an updated package with a product xml.

grz,
seba

Big_Ad 12-27-2005 07:14 PM

I can't seem to be have the User Page Permissions in in my Usergroups section?

It's the first time I've ever used Vbulleting or used any hacks...So I may have done something wrong? I have installed the plugin by uploading and installing the provided XML file, uploaded required files, yet no page permissions? In the manual it says " If the userpage phrases are not showing in your admincp, go to your phrase manager and save any phrase." - If you literally mean click any phase and save it - I've done this and it doesn't seem to make any sort of difference to whats displayed in the usergroups?

Any suggestions?

Lena Starling 12-27-2005 08:43 PM

Quote:

Originally Posted by waza
@lena starling: check if you have uploaded the bitfield xml.
Maybe U use an older version, if so, you can do this:
open bitfield xml, replace vBulletin with vbulletin.
you could also search this thread for an updated package with a product xml.

grz,
seba

Thanks,

I did upload the usergroup-bitfield into FTP, but:

whenever I try to import it it gives me an "Invalid File Specified" error. I tried to import as both product and plugin, but neither worked.

Help?

djnth 12-29-2005 02:13 AM

I've modified the user page to be DJ Profiles and made each user page automatically filled out with some default information taken from custom user fields, and it looks good if the user enters the info in their profile, but it they leave a field blank it's not so functional.

I'm using the following code to display an image from a user specified URL taken from a custom field in the user profile

Code:

<img src="$userinfo[field15]">
It works fine and displays the image if a URL is specified, but if there is no URL it displays a white box with a red "X" through it. I was wondering if there if anyone has some code that I could use in place of the code I'm using that would either display a default image or nothing at all if there is no URL specified.

I'm also using this code
Code:

<strong>Website:</strong> <a href="$userinfo[field10]">$userinfo[field10]</a>
to display a clickable link to a website also taken from a custom field. I also need something for this so that it would say "n/a" or "not specified" or even just leave it blank if the user does not specify a link.

Thanks for the assistance!!

Screenshots of what things look like right now included both good and bad

djnth 12-29-2005 06:09 AM

thanks to HR3rdGEN for this code that solved my problems!!

Code:

<if condition="$userinfo[fieldX]">$userinfo[fieldX]</if>

kpr 12-29-2005 10:09 AM

Thanks for another sweet hack most appreciated.

RockForums 12-29-2005 02:14 PM

Excellent mod!

Cheers :)

Annie^.^ 12-31-2005 12:29 PM

Hi
I just downloaded 1.2.2 version and I 3.5.1 of the forum. Now everything installed ok, but I can't see anything in the AdminCp. Why is that?? It's getting very frustrating. I can't change the permissions of the users because it's not there to change it. Any ideas?

waza 12-31-2005 02:42 PM

@annie: open the bitfield xml (must be something like bitfield_userpage.xml) located in /includes/xml/
and replace vBulletin with vbulletin (so without caps)
re-upload en rebuild bitfield (admincp/index.php?do=buildbitfields)

Andyrew 01-02-2006 06:51 AM

I also would like to know how to remove all traces of this hack, i have deleted all i can find but my error log keeps reporting userpage.php not found.

manguish 01-02-2006 02:18 PM

I'm an admin with the correct settings to allow me to edit etc....

But i try to delete a users page and get the
Quote:

$bbuserinfo[username], you do not have permission to access this page. This could be due to one of several reasons:
page - the username doesn't even show up!!!

djnth 01-03-2006 07:17 AM

I'm having a problem when posting a comment or rating saying a certain template is not found but everything posts or rates just fine. Not too terrible just slightly annoying.

waza 01-03-2006 09:10 AM

@manguish, many had this problem, there has been posted how to do this some pages ago, browse or search in this thread and you'll find it :).

@djinth: Isn't it he say a phrase is not found??
Because normal he doesn't mention if a template is not found, it will just show a blank page....

[email protected] vbmenu_register("postmenu_863742", true); 01-03-2006 09:10 PM

any chance you can add to it so that you can set the ammount of pages a user can have, so they can have more than one?

kadafi_alive 01-04-2006 09:25 AM

Hey waza, did you find a fix for the IE issue? The rating displays fine in Firefox but not in IE or Opera

kadafi_alive 01-04-2006 11:55 AM

I found the problem for the Opera/IE issue where it doesn't line up properly.

Before <if condition="$show['popups']"> in template usercp the table is not closed.

So replace this:

</tr>
</table
<if condition="$show['popups']">

with

</tr>
</table>
<if condition="$show['popups']">

[email protected] vbmenu_register("postmenu_864463", true); 01-04-2006 06:59 PM

Quote:

Originally Posted by saint@t-og.net
any chance you can add to it so that you can set the ammount of pages a user can have, so they can have more than one?

BUMP PLEASE!!!!! :nervous:

silurius 01-04-2006 07:41 PM

Quote:

Originally Posted by silurius
Quote:

Originally Posted by djnth
It's really quite annoying and it's starting to make me wonder about this company, they don't seem to care about getting this software out possibly because it will take away sales of their flagship product, which I've used and is a nightmare.

Are we talking about the "PhotoPost PHP Pro" they have available for sale/download today? Apparently this version "can use vBulletin 2.0.3 (and all newer versions) user database".

I also can't tell if that version permits managing photos in a distinct database, while utilizing vBulletin's general infrastructure and user authentication. To me, that would reduce the overall vBulletin db size (and risk) quite a bit.

In case anyone wanted to know, I called PhotoPost today and they do support vB 3.5.3. PhotoPost PHP Pro also stores files in the file system and not in the database (which satifies my db requirement above). They also allow for other types of uploads, not strictly media files.

The guy I spoke with seemed to think the product is pretty flexible, in terms of integrating it with custom user profile pages etc., provided you are comfortable with handling the customizations yourself. Unfortunately you have to purchase the full version if you want to actually play around with it on your own site.

waza 01-05-2006 07:25 AM

Quote:

Originally Posted by saint@t-og.net
BUMP PLEASE!!!!! :nervous:

Hmz, off course, everything is possible ;), but I won't do it for now.
I think it wouldn't be so hard to code if you can code a bit and look to other hacks.

kadafi_alive 01-05-2006 08:59 AM

Hmm,

I was wondering. When there are multiple pages (many users) and I click next to go the next page of userpages, it repeats the same users from the previous page?

[email protected] vbmenu_register("postmenu_865223", true); 01-05-2006 03:50 PM

Quote:

Originally Posted by waza
Hmz, off course, everything is possible ;), but I won't do it for now.
I think it wouldn't be so hard to code if you can code a bit and look to other hacks.

the reason I ask is because I am very busy and until my site is up and running I don't want to look into coding modules like this, im not advanced enough yet :) anyone else able to help me out? :squareeyed:

kadafi_alive 01-05-2006 09:25 PM

Hmm,

When I go the main page (userpage.php), the updated pages doesn't work at all. It only shows the updates of those who have the most views.

Furthermore, the dropdown list on my navbar doesn't work at all

waza 01-06-2006 08:45 AM

@kadafi_alive:
To fix the last updates
find:
Quote:

$lasteditedresults=$db->query_read("
SELECT t1.userid, t2.username, t1.dateline FROM
".TABLE_PREFIX."userpage AS t1
LEFT JOIN ".TABLE_PREFIX."user AS t2 ON(t1.userid=t2.userid)
ORDER BY t1.views DESC LIMIT 0,5");
and replace with:
Quote:

$lasteditedresults=$db->query_read("
SELECT t1.userid, t2.username, t1.dateline FROM
".TABLE_PREFIX."userpage AS t1
LEFT JOIN ".TABLE_PREFIX."user AS t2 ON(t1.userid=t2.userid)
ORDER BY t1.dateline DESC LIMIT 0,5");

MissKalunji 01-09-2006 12:17 AM

Quote:

Originally Posted by waza
@misskalunji: I found a better (good) way, If I find some time a post it here.
@LoOnEyToOnZ: What does that have to do with this hack?
@Firestar.chkn: Wich template?

got a little time :-) now?


All times are GMT. The time now is 03:02 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.02473 seconds
  • Memory Usage 1,852KB
  • 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
  • (18)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