vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Myspace Profile Re-Write PRO! 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=109094)

Wordplay 05-09-2006 09:22 AM

stangsta thanks alot for the hack, my profiles really get that myspace effect now.

stariko, you mean just the link?
Code:

<a href="http://gallery.YoSite.com/browseimages.php?do=member&imageuser=$userinfo[userid]&$session[sessionurl]" title="Bilder Anschauen">View More Pics</a> ($userimages[count])
that should do the trick, just put it wherever you want it to go, place it underneath the profilepic with a < br > infront of it. and it'll be just the way it is on stangsta's example.

skariko 05-09-2006 09:36 AM

Quote:

Originally Posted by Wordplay
stariko, you mean just the link?
Code:

<a href="http://gallery.YoSite.com/browseimages.php?do=member&imageuser=$userinfo[userid]&$session[sessionurl]" title="Bilder Anschauen">View More Pics</a> ($userimages[count])
that should do the trick, just put it wherever you want it to go, place it underneath the profilepic with a < br > infront of it. and it'll be just the way it is on stangsta's example.

Sorry, I mean the mod of 'more pics'..not just the link..so I see the screenshot and I think that is possibile to have more profile picture than one, isn't it?
Is it a mod that I can install somewhere?

Wordplay 05-09-2006 11:29 AM

i think this was intended for vbadvanced galleries. but i guess you could just use this one:

https://vborg.vbsupport.ru/showthrea...ht=profile+pic

skariko 05-09-2006 12:51 PM

Quote:

Originally Posted by Wordplay
i think this was intended for vbadvanced galleries. but i guess you could just use this one:

https://vborg.vbsupport.ru/showthrea...ht=profile+pic

Thank you Wordplay, but i was searching for something different.
Sorry for my english.
I was wondering it there's a way to add "personal" galleries in the user profile. As you certainly know with the "basic" VBulletin every user is able to add one avatar and one single photo to his profile. I was wondering if there's a way to allow users to add more than a photo in their profiles, to create something like a gallery. For example, every user could add more than one photo by himself in his profile, and when someone click on that user profile, he should be able to see not just the "single" photo but all the uploaded gallery.
Are you aware of any "mod" able to do such stuff ?

daystorm 05-12-2006 01:47 AM

Hello,

I am having a problem with the code below:
Code:

<tr valign="top" class="alt2">
        <td align="left" valign="top"> <div align="left"><span class=""><strong>I

Am:</strong></span></div></td>
<td style=""><if condition="$comma =''"></if>
<if condition="$post['field18']&2">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&3">
$comma Not A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&4">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&5">
$comma A Non-Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&6">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&7">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&8">
$comma Into Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&9">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&10">
$comma Something Not Listed Here
<if condition="$comma =','"></if>
</if>

        </tr>

When I input this, if I check mark some random ones show up or none at all show up. I can not understand what I am doing wrong.

Thank you,
Ella

Stangsta 05-12-2006 02:24 AM

Quote:

Originally Posted by daystorm
Hello,

I am having a problem with the code below:
Code:

<tr valign="top" class="alt2">
<td align="left" valign="top"> <div align="left"><span class=""><strong>I
 
Am:</strong></span></div></td>
<td style=""><if condition="$comma =''"></if>
<if condition="$post['field18']&2">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&3">
$comma Not A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&4">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&5">
$comma A Non-Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&6">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&7">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&8">
$comma Into Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&9">
$comma A Blah-Blah
<if condition="$comma =','"></if>
</if>
<if condition="$post['field18']&10">
$comma Something Not Listed Here
<if condition="$comma =','"></if>
</if>
 
</tr>

When I input this, if I check mark some random ones show up or none at all show up. I can not understand what I am doing wrong.

Thank you,
Ella

Why do you hav edouble </if> for every if?

daystorm 05-12-2006 02:28 AM

I am not sure, that is how it was in the code. If I remove them, should it work?

By the way, thank you for responding so quickly!

Ella

daystorm 05-12-2006 02:49 AM

Hello,

I am now getting this error with this code...

Parse error: parse error, unexpected '}' in /home/bostoner/public_html/forums/member.php(651) : eval()'d code on line 230

Code:

{
if (!is_object($bbcode_parser))
{
    require_once(DIR . '/includes/class_bbcode.php');
    $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
$userinfo['field6'] = $bbcode_parser->parse($userinfo['field6'],0, true);
}
{
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
$userinfo['field8'] = $bbcode_parser->parse($userinfo['field8'],0, true);
}
{
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
$userinfo['field9'] = $bbcode_parser->parse($userinfo['field9'],0, true);
}
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
$userinfo['field10'] = $bbcode_parser->parse($userinfo['field10'],0, true);
}
if (!is_object($bbcode_parser))
{
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
}
$userinfo['field11'] = $bbcode_parser->parse($userinfo['field11'],0, true);
}


Wordplay 05-12-2006 07:01 AM

Quote:

Originally Posted by skariko
Thank you Wordplay, but i was searching for something different.
Sorry for my english.
I was wondering it there's a way to add "personal" galleries in the user profile. As you certainly know with the "basic" VBulletin every user is able to add one avatar and one single photo to his profile. I was wondering if there's a way to allow users to add more than a photo in their profiles, to create something like a gallery. For example, every user could add more than one photo by himself in his profile, and when someone click on that user profile, he should be able to see not just the "single" photo but all the uploaded gallery.
Are you aware of any "mod" able to do such stuff ?

if you wanna go that rout, this is what i'd use.

follow that link i mentioned in the reply earlier. and download the profile picture gallery. then also get this right here: https://vborg.vbsupport.ru/showthread.php?t=105616 i haven't taken a serious look at it yet, but seemingly it is what you're looking for. sorry i ran a search and couldn't find anything in your direction.

it's called the 2 or more profile pictures hack. good luck getting the profile picture gallery to show more then one profile picture.

if that doesnt work the way you want it to.

here is what i did: i installed a gallery software *like the one i linked you to earlier* and below profile picture in the user cp i made a link: UPLOAD MORE PICTURES. which just uploads pictures directly to their own gallery. then theres a link on all the pictures they are viewing saying display in profile. which puts what ever picture they klick into a profile field and then they get listed there... making it look like myspace although myspace doesnt have that function, but i'm trying to make my site as easy as humanly possible.

good luck with everything, and make sure to let me know how it all worked out for you.

criscokid 05-12-2006 07:54 AM

Quote:

Originally Posted by daystorm
When I input this, if I check mark some random ones show up or none at all show up. I can not understand what I am doing wrong.

Some of your ticked fields are showing up... some aren't... because your code is wrong - something very small but small enough to break everything (it's in the attention to detail).

Code:

<if condition="$comma =''"></if>
<if condition="$post['field36']&1">$comma Arts and crafts
<if condition="$comma ='-'"></if>
</if>
<if condition="$post['field36']&2">$comma Board games
<if condition="$comma ='-'"></if>
</if>
<if condition="$post['field36']&4">$comma Cars
<if condition="$comma ='-'"></if>
</if>
<if condition="$post['field36']&8">$comma Cinema / Movies
<if condition="$comma ='-'"></if>
</if>

Looking at the code above you will see the value after the & doubles every time (it doesn't increment by 1 as per your code). Example: &1 &2 &4 &8 &16 &32...

Smiry Kin's 05-12-2006 01:34 PM

can some one help me with this

Note: this is in IE only. not Firefox. works perfect in FF,

seems that it cuts it off.. i have tried everything, make the forums width more, shortening the tables, seems to be a problem, any ideas??

criscokid 05-14-2006 04:19 PM

Quote:

Originally Posted by Smiry Kin's
can some one help me with this

Unfortunately I can't advise you on how to solve you problem but I do strongly advise you to modify your template to stop using the 'camera photo' from the texasphotoforums.com (or whatever the site is called). That's considered to be bandwidth theft and could result in your hosting provider suspending your hosting account.

Smiry Kin's 05-14-2006 05:59 PM

Quote:

Originally Posted by criscokid
Unfortunately I can't advise you on how to solve you problem but I do strongly advise you to modify your template to stop using the 'camera photo' from the texasphotoforums.com (or whatever the site is called). That's considered to be bandwidth theft and could result in your hosting provider suspending your hosting account.

it isnt on there server. i "borrowed" it. i asked abel if he had a problem he didnt.. and my hosting account will never get suspended. :)

daystorm 05-15-2006 10:51 AM

Hello,

Thank you for helping with <if> conditional code.

I have two more questions, one is the code I asked about the other day that produces the error when I put it in the plugin field, "Parse error: parse error, unexpected '}' in /home/bostoner/public_html/forums/member.php(651) : eval()'d code on line 230". I am not sure why I am getting this error.

Also, do you know how to make the avatar picture in the profile larger? I changed the size in the properties for pictures and Avatars, but that didn't change it on the view profile page.

Thank you,
Ella

Stangsta 05-16-2006 04:36 AM

Quote:

Originally Posted by daystorm
Also, do you know how to make the avatar picture in the profile larger? I changed the size in the properties for pictures and Avatars, but that didn't change it on the view profile page.

Thank you,
Ella

Now that you changed it for the usergroups, you have to upload a bigger avatar. VB isn't that smart :)

PennylessZ28 05-16-2006 09:38 PM

you know what would be great.... if this was a product.

And if it uses ajax, so that a user viewing his profile could edit it on the fly. And if by using javascript in combination, he could change the postion or re-arange items on the page. And what if blogs and comments and friends, along with additional photos didn't require 3rd party plugins that weren't really designed in conjunction with this from the start anyways ??? oh then you'd have something wouldn't you. ;)

Hurm....... why I think it's almost here ;) could be here very soon.

MissKalunji 05-16-2006 09:42 PM

Yeah i've seen that before

Stangsta 05-17-2006 12:28 AM

Quote:

Originally Posted by MissKalunji
Yeah i've seen that before

I have full access to it...."hurm"

MissKalunji 05-17-2006 12:51 AM

you've been holding back on me eh!

PennylessZ28 05-17-2006 01:38 AM

I'm using it right now

MissKalunji 05-17-2006 01:59 AM

Thats Cool

michaelsilvia 05-17-2006 08:57 AM

This is by far my favorite hack!

Is there a way to keep the borders when uploading an image or changing the colors on the CSS? See my profile for an exampel:
http://www.usfkforums.com/members/mike.htm

I would like to have some border seperate the different areas. Also, what is the best way to change the text color when using an image? For instance, the first attached image has an image background, but the borders around the tables are black. In the second image the tables are gone. I want it with the tables. I tried adding this code with no luck:

Quote:

H1 {border-style: solid; border-color: purple;}
I also tried to edit the one you had.

Quote:

.tborder {background: #FFF000}

Thanks!

Mike

michaelsilvia 05-18-2006 05:53 AM

Ok, I messed around and think it looks pretty good.

http://www.usfkforums.com/members/mike.htm

How about getting the NAVBAR to stay original?

Mike

noonespecial 05-18-2006 09:58 AM

Here's mine .. I'd appreciate the style not being copied 100% if you like what you see. Build upon it, but don't steal it pleas!

http://www.absolutepunk.net/member.php?u=1083

MissKalunji 05-18-2006 11:02 AM

that has been copied long time mate sorry to burst your bubble

criscokid 05-18-2006 11:46 AM

Quote:

Originally Posted by Poethik
Geez, I love the idea. But thats going to take me forever to accomplish. By question... Is some one going to comeup with a similar Search/ Browse profiles to add to this?

For the benefit of those that are going to try tackle an enhanced 'search / browse profiles' tool you'll be interested in the How To Search Memberlist Profile Fields Via A URL thread.

Stangsta 05-18-2006 03:11 PM

Quote:

Originally Posted by michaelsilvia
Ok, I messed around and think it looks pretty good.

http://www.usfkforums.com/members/mike.htm

How about getting the NAVBAR to stay original?

Mike

Add this:
Code:

<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>

Below this:
Code:

<if condition="$userinfo[field35]">
<style type="text/css">$userinfo[field35]</style>


noonespecial 05-18-2006 06:37 PM

Not surprised.

Dj-BuZ 05-19-2006 06:53 AM

ok install this hack along with other but i get an error now if some one can help me please it be great...thank you


Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(*) AS count FROM links WHERE userid = '1' AND valid = 1;

MySQL Error  : Table 'buz_new.links' doesn't exist
Error Number : 1146
Date        : Friday, May 19th 2006 @ 02:44:58 AM
Classname    : vb_database

thats what i get when i try to view my profile...i might have done something wrong or did i missed anything ??

Dj-BuZ 05-19-2006 06:34 PM

anyone ??? please

Stangsta 05-19-2006 11:04 PM

Quote:

Originally Posted by Dj-BuZ
anyone ??? please

That has nothing to do with this hack as it is only a tempate edit. Please seek support through the hack you installed to produce that issue.

Sonno 05-20-2006 05:18 PM

Ok, forgive my ignorance but... how exactly am I supposed to apply this mod? I have to put exactly what code into where?

I'm not really looking to do the whole "Myspace" thing, and I don't really care about adding the .htmlaccess file or installing any of the recomended hacks; I just want to simply spruce up my members profiles a bit giving them a few more options to work with than what they have now.

How do I do that?

Thanks.

criscokid 05-21-2006 08:39 AM

Quote:

Originally Posted by Sonno
I just want to simply spruce up my members profiles a bit giving them a few more options to work with than what they have now.

Which is why it's necessary to install the recomended hacks - without them there's nothing to add to your member's profiles.

MustangLisa 05-23-2006 12:27 AM

Installed and worked without a single issue. Thank you for all you hard work on this!!

Roody 05-23-2006 06:47 PM

My apologies if this has already been answered, but is there a way to add images to profiles without vbadvanced or their links program?

Stangsta 05-23-2006 10:46 PM

Quote:

Originally Posted by MustangLisa
Installed and worked without a single issue. Thank you for all you hard work on this!!

Im a member of your site. :) I have a Black 93 GT :banana:

Coldhands 05-23-2006 11:08 PM

Quote:

Originally Posted by Dj-BuZ
ok install this hack along with other but i get an error now if some one can help me please it be great...thank you


Code:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(*) AS count FROM links WHERE userid = '1' AND valid = 1;

MySQL Error  : Table 'buz_new.links' doesn't exist
Error Number : 1146
Date        : Friday, May 19th 2006 @ 02:44:58 AM
Classname    : vb_database

thats what i get when i try to view my profile...i might have done something wrong or did i missed anything ??

:banana: I was happy to see that someone got the same exact error that I did, and that I wasn't alone here.

I went into the plugin manager, and searched (ctrl + f) for 'links'

I found 'Number of pics and links in profile' under 'Hook Location : member_complete' and clicked '[edit]'. Then I deactivated it and I didn't get the db error anymore. That should do the trick for you.

Now my question. I think it may have to do with the fact that I don't have the vB advanced image gallery installed yet. Does that sound about right? Which hack exactly is the vb_advanced_image gallery? I don't think I saw that in the list of things to upload, however, I do recall the vBjournal talking about that.

Roody 05-24-2006 01:59 PM

Quote:

Originally Posted by Roody
My apologies if this has already been answered, but is there a way to add images to profiles without vbadvanced or their links program?

Any ideas?

Roody 05-25-2006 12:58 PM

Quote:

Originally Posted by Roody
My apologies if this has already been answered, but is there a way to add images to profiles without vbadvanced or their links program?

Bumping this up again.

Soljah 05-25-2006 10:51 PM

The issue that I am having is that whenever I use the CSS Code box in my "edit profile" box, to upload a new style. I just get a white background. I have read up on alot of CSS and still cant seem to get this fixed. I have been using myspace codes, but nothing works. Any advice?


All times are GMT. The time now is 05:07 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.01799 seconds
  • Memory Usage 1,862KB
  • 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
  • (10)bbcode_code_printable
  • (19)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