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...


All times are GMT. The time now is 06:02 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.02114 seconds
  • Memory Usage 1,768KB
  • 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
  • (6)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
  • (3)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