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 UserCP Rewrite (https://vborg.vbsupport.ru/showthread.php?t=107394)

d8tabyte 07-25-2006 01:27 AM

umm seeing as how it is almost a split now - 50/50 IE to firefox users - don't you think you should at least TRY to be multi browser compliant?

KevNJ 08-24-2006 01:35 PM

Any update on version 2 superfly ?

Chicago_VLNU_4s 09-06-2006 04:39 AM

nice! didn't look thru all 15 pages, but you placed a wrong code in for "View My Page". I believe you put "[username]" and its supposed to be

Quote:

<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]
sorry if some1 said it b4 me. Nice hack though **installed**


*******************

also, your "View My Buddy's" was wrongfully linked. I have the forum friends thing installed so i modified it to goto that hack using this

Quote:

<a href="friends.php?$session[sessionurl]u=$bbuserinfo[userid]">
but sorry again if some1 has already corrected this. Just inputing

KevNJ 10-23-2006 03:14 AM

Any word on a version 2 ?

Chicago_VLNU_4s 11-04-2006 09:54 PM

any1 know how i would write a hook to the user cp for the "profile views" hack and "last login" hack?

tomotron 12-19-2006 08:06 PM

looks promising, i'd like to see version 2 when it comes out.

does anyone know of any other usercp rewrite hacks?

Vic123 06-26-2007 05:15 PM

just want you show my interest in a fixed version where the following problems will be fixed:

- newest profile pic / avatar showing up
- a working buddylist with online/offline status
- a working PM preview


That product you released here is to great to continue letting it be so buggy. I really like your work especially this product. When the issues mentioned above are solved I think it can become far more popular. Lot of ppl are scared by the reported bugs/malfunctions.

Thanks for your time! Keep up the good work! :up:

bye
Vic

Vic123 06-26-2007 11:27 PM

regarding a bugfix for that timestamp/avatar/profilepic issue I just found that thread on vb.com. perhabs that might be helpful:

http://www.vbulletin.com/forum/showthread.php?t=224697

Mysticales 06-30-2007 11:55 AM

Ok all. Thank me later... I solved it.. Good ol by hand jury rigging.

Ok here is what I have. I am a 3.5.x VB user. I do NOT store Avatars and Profile pics in the database, I have them in the Filesystem (Aka to those who dont know, its in admincp - Attachments - Storage type. Taking the files from the SQL database to a ftp type server basically.

Now then if your having the issue of you cant find a variable, command etc to get the profile pics to show up or avatar pics to show up in the UserCP "Myspace" looking template. Here you go.

Code:


<td style="border-style:solid;border-width:1px;" class="vbmenu_control">
<div>Profile Picture:</div><img src="customprofilepics/profilepic$bbuserinfo[userid]_1.gif" alt="$vbphrase[your_profile_picture]"  border="0" /><br /><div>Avatar:</div><img src="customavatars/avatar$bbuserinfo[userid]_1.gif" alt="<phrase 1="$bbuserinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" /><br /></a></td></td>

This is my exact code used to make them show up in UserCP. Just find the same areas and look for Profile Picture: and Avatar: and its whats next to them that matters, just gave you the rest of the code so you know where it fits in.

Explination:

Code:

Now then, since we filesystem users cant seem to use image.php that means we are stuck..
well I learned how VB was working this. In the FTP for the folder "customavatars or customprofilepics"
You will notice the file names, the file name MATCH the userid #.
So added the extra chars it needed, and vola, when the forums load it up, as you can see it loads the path, avatar(that I wrote in manually in the template), the user ID number, then -1.gif and vola!
It works! Now mind you I will mention this as I can see a issue already.
This is pre defined for Custom Avatars and Profile pics ONLY.
Meaning if you have "Set" avatars to select in your forum.. you would need to code it differently.
I can only guide you part way here.
But least I have a REAL answer for you on how to code it if your a filesystem user.

You should be able to use this code out of the box, provided your vb install was the same as normal installs. If not, alter the path. Any questions, let me know. =)

Btw.. mine is tad tricker.. as im giving users the option to choose which type of usercp they want to use.. not to mention I have them able to change avatar types from normal avatar to xbox live gamertag as a avatar, controlled within usercp. =)

Anyways does this help out anyone?

foulplay 07-08-2007 09:55 PM

it works, but the picture doesn't update in the usercp.


All times are GMT. The time now is 06:03 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.01250 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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