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)

docvader 06-15-2006 02:57 PM

Hi gang, it's been a while. Nice to see what you have done with this concept.

I have a bit of a problem, and I was wondering if someone could help me here, because I can't remember what I did. I don't really have the opportunity yet to change to this new system; I'm still using the old way of doing this. My site got hacked, and I had to repair things / change mysql passwords, et al. My memberinfo.php page now gives me this error:
Quote:

Warning: mysql_connect(): Access denied for user: 'rxxxxxxxx@localhost' (Using password: YES) in /member.php(651) : eval()'d code on line 48
I cannot connect to the database.
Anyone have any idea what's wrong here? Greatly appreciate it. PS: Glad to see most of you are still hanging out here.

rich

Jecht 06-15-2006 04:54 PM

Just curious, I have been absent for sometime on my forums and my staff hasn't made any changes to any of the templates and when I came back I found an odd error that wasn't there before.

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /member.php(84) : eval()'d code on line 2

Any ideas as to what might have caused this, and how I can fix it?

daystorm 06-16-2006 01:45 AM

Thank you for your help, unfortunately, I am still getting this error message.

This user has not registered and therefore does not have a profile to view.

Any suggestions?

Thank you,
Ella


Quote:

Originally Posted by Dr Steevil
Stupid me finally figured it out! If you go to your navbar template, scroll down to where you find the following:
Code:

<!-- user cp tools menu -->
This is where the "Quick Links" pull down menu begins. Scroll down further and find
Code:

<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
That's the link that will take you to your profile. So to add this as a regular menu item, simply add the following code where you want it to appear in your nav bar
Code:

<td class="vbmenu_control"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td>
Note that it starts <td class="vbmenu_control">, not <td class="vbmenu_option">Also, don't put the <tr> tags in there! You can also feel free to change the variable $vbphrase[my_profile] to whatever you want (such as just "My Profile").

Good luck!


Wordplay 06-16-2006 06:00 PM

just upgraded to 3.6 question... what is new in the membersinfo so i can add it to my customized one.

ronoxQ 06-17-2006 12:33 AM

Quote:

Originally Posted by Stangsta
Im allowed to get slack, I do have a life outside of vb.org. :)

If you are having problems with your CSS, it is directly a result of either:

1. Your style that you are using.
or
2. You dont know how to use CSS.

If you don't know CSS....theres plenty of resources on the web. And CSS is not reqiured to make this hack work, just an added bonus. And of course...my services are always available if needed if you want me to go on there and make it all work for you.

Sorry you feel the way you do. Back to relaxing on a pleasant Sunday...

That would work, but I was using the CSS generator, meaning it had better work. ^_^

And I tested with the default style; didn't work. Any ideas? (Sorry this took a while to respond to.)

Stangsta 06-17-2006 05:31 AM

Quote:

Originally Posted by ronoxQ
That would work, but I was using the CSS generator, meaning it had better work. ^_^

And I tested with the default style; didn't work. Any ideas? (Sorry this took a while to respond to.)

Hmmmm....I didnt write the CSS generator, it was donated by a member, so I couldn't tell you too much about it or why it does not work properly.

ronoxQ 06-17-2006 11:25 PM

Quote:

Originally Posted by Stangsta
Hmmmm....I didnt write the CSS generator, it was donated by a member, so I couldn't tell you too much about it or why it does not work properly.

Okay. What I meant was, it works on the other pages I've seen using it (like MissK's), so I'm a bit baffled as to why it's not working.

Would parsing the field help?

MissKalunji 06-18-2006 02:41 AM

Quote:

Originally Posted by ronoxQ
Okay. What I meant was, it works on the other pages I've seen using it (like MissK's), so I'm a bit baffled as to why it's not working.

Would parsing the field help?


Its not the same....

MissKalunji 06-18-2006 02:44 AM

Quote:

Originally Posted by ant0nio
I can confirm and testify that i'm using the script and loving it! It works great with the myspace profile re-write wonderfully.

Out of luck but happy for you

Stangsta 06-18-2006 02:58 AM

Quote:

Originally Posted by ronoxQ
Okay. What I meant was, it works on the other pages I've seen using it (like MissK's), so I'm a bit baffled as to why it's not working.

Would parsing the field help?

She paid a coder to develop that one specifically for her. And before you ask, no its not for sale or to be distributed. :)

MissKalunji 06-18-2006 10:45 AM

Quote:

Originally Posted by Stangsta
She paid a coder to develop that one specifically for her. And before you ask, no its not for sale or to be distributed. :)

beat me to it :banana:

TRR 06-19-2006 01:25 AM

Stang, can you show me what I would have to do to add hyperlinks that automatically add 1 or subract 1 from the user number? In otherwards, I want to put links at the top of the profile page that say:

previous profile | next profile

Clicking on the link would take you to the next person's profile. Thanks!

criscokid 06-19-2006 09:32 AM

Getting back to the parsing of text in customfields... we all know that & is being displayed as &amp;

I had a similar problem in REviewPost and the coders told me to insert the following line of code to fix the problem:
Code:

$customboxes['value'][$numcustom] = str_replace( "&amp;", "&", $customboxes['value'][$numcustom] );
I realise that this bit of code is specific to ReviewPost but thought that it might be of use to someone who has the coding ability to fix the problem.

ronoxQ 06-19-2006 11:55 AM

Quote:

Originally Posted by Stangsta
She paid a coder to develop that one specifically for her. And before you ask, no its not for sale or to be distributed. :)

Yeah, I know. I'm a member on MissK's site myself, remember?

However, I've used both hers and mine, so I know that the CSS it generates is the same on each. Therefore, if it works on hers, it SHOULD work for mine...

Any clue about parsing?

Dr Steevil 06-19-2006 12:38 PM

Quote:

Originally Posted by daystorm
Thank you for your help, unfortunately, I am still getting this error message.

This user has not registered and therefore does not have a profile to view.

Any suggestions?

Thank you,
Ella

Where are you trying to place the link? I tried using it on my flash based menu and it didn't work. It does work on the navbar however. Just make sure you place the code in between the codes for other links. The best way to tell is the use of the <td> and </td> tags. Make sure this is the code you use and it should work:

Code:

<td class="vbmenu_control"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td>

Jecht 06-20-2006 03:17 PM

I posted this question up once before, but seeing how this thread is progressing I better re-post it or I know it won't be seen. I am having this problem, and I have had a few people look into it, I do not believe that this is a file related error since there has been no recent changes to it, that I am aware of anyways, but I could be wrong since I have worked on the template many times to see if I could fix this error but haven't had any luck. I have tried reverting a test style to the original Memberinfo template and the error is still coming up. I copied the member.php file from my server and uploaded the original member.php file that came with the vBulletin zip package and the error still comes up. I'm honestly stumped as to what could be causing this problem.

If someone has had a similar problem or knows right off the bat what this error is and how to fix it, please let me know

--------------Error Fix Request--------------

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /member.php(84) : eval()'d code on line 2

--------------Error Fix Request--------------



Thanks

UncoderMom 06-20-2006 04:23 PM

Anyone have VBJournal working with php5?

dinodonk 06-22-2006 11:00 AM

Quote:

Originally Posted by MissKalunji
Demo Site


http://profile.dancehallareaz.com/MissKalunji
http://profile.dancehallareaz.com/member.php?u=3024
http://www.sevencityforums.com/forums/member.php?u=18
http://redlinemotorsports.org/forum/member.php?u=1








Here is a Css Generator posted by quanvo81 pretty basic but will help your members to create fabulous profile!

and also the vbgallery showing the latest uploaded image in profile



Any idea how to make http://profile.dancehallareaz.com/MissKalunji ?? what should we put on htaccess??

TIA

UncoderMom 06-23-2006 04:11 AM

Html and bb code are not phrasing ..I added the hooks?? What am i doing wrong lol. And what about the comments system? Im close but still a off from the screem shots! Id be glad to move past the not phrasing parts lol.

futuredood 06-24-2006 02:19 AM

this sure is a brain twister..

out of the blue, the bbcode stopped parsing for one field..
a day later, NOTHING parses, it just shows $userinfo[field15].

can anyone point me in the right direction?

ab420 06-28-2006 04:53 AM

How hard would it be to integrate this with Coppermine gallery? There is a mod to integrate the gallery with vBulletin registration, and I have done that already.

In Coppermine gallery, users can have their own gallery. I can see with my test accounts, that their gallery url is:
http://www.customfighters.com/galler....php?cat=XXXXX

where the XXXXX is at the end, it is their userid from vBulletin + 10,000.

I'm sure there's some way to code this into the myspace profile hack to go right to their gallery when a link is clicked.... I just don't know how!!!

Anyone want to take a crack at this?

drgonzo120 06-29-2006 11:37 AM

can't somebody build something similar but not with 5.000.000 steps to install?

ab420 06-29-2006 08:24 PM

Maybe I'm missing something, but: I can change pretty much everything in the profile with css, except the color of the links!?!? It's very strange... I can change the background behind the links, but not the color of the actual link itself.... any ideas?

By the way.... AMAZING MOD!!!!!!!

--edit:

yup, there is definitely something not right with the css... MOST of it works, but I cannot change the link color in any way... I have no problems with anything else, I have validated my css repeatedly, everything is correct, but I can't cannot change the link color.... Does anyone else have this problem, or is there something screwy going on with my forum?

--edit #2!!!

Nevermind, didn't know css as well as I thought I did!!!!

HMBeaty 06-30-2006 01:18 AM

Just to add a bit more :D

futuredood 06-30-2006 05:49 AM

Some mods need to come in this thread and clean it up. This isn't even a hack, it's more of directions based on other hacks.. whatever, it works. Thanks to Stangsta for the guide.

peterska2 06-30-2006 11:36 AM

I've deleted a lot of abusive and off topic posts from this thread.

It is now reopened, but any more comments or abuse and it will be closed permanently.

peterska2 06-30-2006 01:39 PM

If you have any concerns regarding any of the posts in this thread, please use the report post function and it will be reviewed.

ab420 06-30-2006 02:17 PM

Just wanted to give everyone the headsup:

I have been searching for free gallery alternatives to link with the profiles, and I came up with something that works... (for now...)

vBGarage, was made for cars, I have a motorcycle site, so that's what first got me looking there. I use it so members can just so pics of their bikes (I don't need to see a bunch of pics of biker guys!!!! LOL!)

Anyways, what I figured out was this: with vBGarage, it gives everyone its own gallery with the url:
http://www.yoursite.com/forums/vbgar...do=view&id=###

Where it says ##### at the end, is the users user id #. Even if the person has not set up a gallery, it will still bring them to their empty gallery.

Originally, the garage was set so you can fill in details about your bike, you could probably edit all that to make it details about their pictures. I have user profile fields for them to put in bike specs that I just call over to their garage page.

I would love to give you all the steps necessary to make this happen, but I really just stumbled my way through it! The basics are:

Install the garage as per instructions.
Edit the garage templates to display the pics the way you want.
Add a link in the memberinfo template like:

Quote:

<a href="vbgarage.php?do=view&id=$userinfo[userid]>See more pictures of me!</a>
I would give you my garage templates too, but like I said, I took most of the stuff out of them, so it would be easier to use the originals.

I am not in any way anywhere close to the level of genius that usually resides on this board. I can not offer the same type of incredible support that you are used to, but I do check this thread regularly and will do my best to help anyone who needs it!
Good luck!

peterska2 06-30-2006 09:42 PM

Any more off topic posts or discussions of other modifications in this thread and it will be closed.

This is the final warning.

puregraf 06-30-2006 11:40 PM

Hi, i installed everything, and i went to click on a users name on my site and i got this error:

Database error in vBulletin 3.5.4:

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

MySQL Error : Table 'puregraf_peegee.links' doesn't exist
Error Number : 1146
Date : Friday, June 30th 2006 @ 05:40:00 PM
Script : http://www.puregraffiti.com/graffiti...ber.php?u=3845
Referrer : http://www.puregraffiti.com/graffiti...memberlist.php
IP Address : *****
Username : puregraffiti
Classname : vb_database


and also clicked view profile for the user and got this error:

Database error in vBulletin 3.5.4:

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

MySQL Error : Table 'puregraf_peegee.links' doesn't exist
Error Number : 1146
Date : Friday, June 30th 2006 @ 05:41:36 PM
Script : http://www.puregraffiti.com/graffiti...ber.php?u=2495
Referrer : http://www.puregraffiti.com/graffiti...read.php?t=142
IP Address : *****
Username : puregraffiti
Classname : vb_database


please help, thanks!



also, i copied your code for the MEMBERINFO and edited the field#'s..

thats what i was supposed to do right? cause i noticed you got image urls with your url, and since i copied your code, then i must change these right? but i tried finding those images and they are no where on my vbulletin folders.. where are they ?

thanks

Stangsta 07-01-2006 04:58 AM

Quote:

Originally Posted by puregraf
Hi, i installed everything, and i went to click on a users name on my site and i got this error:

Database error in vBulletin 3.5.4:

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

MySQL Error : Table 'puregraf_peegee.links' doesn't exist
Error Number : 1146
Date : Friday, June 30th 2006 @ 05:40:00 PM
Script : http://www.puregraffiti.com/graffiti...ber.php?u=3845
Referrer : http://www.puregraffiti.com/graffiti...memberlist.php
IP Address : *****
Username : puregraffiti
Classname : vb_database


and also clicked view profile for the user and got this error:

Database error in vBulletin 3.5.4:

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

MySQL Error : Table 'puregraf_peegee.links' doesn't exist
Error Number : 1146
Date : Friday, June 30th 2006 @ 05:41:36 PM
Script : http://www.puregraffiti.com/graffiti...ber.php?u=2495
Referrer : http://www.puregraffiti.com/graffiti...read.php?t=142
IP Address : *****
Username : puregraffiti
Classname : vb_database


please help, thanks!



also, i copied your code for the MEMBERINFO and edited the field#'s..

thats what i was supposed to do right? cause i noticed you got image urls with your url, and since i copied your code, then i must change these right? but i tried finding those images and they are no where on my vbulletin folders.. where are they ?

thanks

I'll say it again as I did in my PM to you.

Seems like you didnt follow the instructions to the "number of pics in profile" hack. That was the cause, not the myspace hack. The images are not part of vbulletin, either make your own or copy them off my site.

ab420 07-01-2006 05:00 PM

Got some screenshots of different css profile styles (keep in mind these are ALL from the same forum, just to give you an idea of the customization capabilities!)
https://vborg.vbsupport.ru/external/2006/07/23.gif
https://vborg.vbsupport.ru/external/2006/07/24.gif
https://vborg.vbsupport.ru/external/2006/07/25.gif
https://vborg.vbsupport.ru/external/2006/07/26.gif
https://vborg.vbsupport.ru/external/2006/07/27.gif
https://vborg.vbsupport.ru/external/2006/07/28.gif

Great hack by the way!!!!

puregraf 07-01-2006 05:04 PM

Quote:

Originally Posted by Stangsta
I'll say it again as I did in my PM to you.

Seems like you didnt follow the instructions to the "number of pics in profile" hack. That was the cause, not the myspace hack. The images are not part of vbulletin, either make your own or copy them off my site.


Whats the name of the thread? I tried finding it but Im not sure what its called, i lookd at hacks I installed but there was nothing on there, maybe i forgot to click install, do you know the url to the thread or what its called?
im going to go through all the steps and see what i messed up on. thanks

dang that took me a while to find lol. https://vborg.vbsupport.ru/showthread.php?t=100667

UncoderMom 07-01-2006 08:31 PM

Noobie Q! Where and do I put the css upload file on my server?? I made the profile field!

Also how do I get html to phrase in the comments section and video? Video field is not working :(

UncoderMom 07-01-2006 08:37 PM

Also...I have this working with photoplog pics at the top! shows only the users pics and uses a conditional which can be found in your plug in hooks under member complete :)

If you diont have that hook let me know!

puregraf 07-01-2006 09:37 PM

Quote:

Originally Posted by puregraf
Whats the name of the thread? I tried finding it but Im not sure what its called, i lookd at hacks I installed but there was nothing on there, maybe i forgot to click install, do you know the url to the thread or what its called?
im going to go through all the steps and see what i messed up on. thanks

dang that took me a while to find lol. https://vborg.vbsupport.ru/showthread.php?t=100667


The database, seems to be corrupted and one of the table 'links' in the DB is missing.

my support told me. how do i fix this?

thanks

UncoderMom 07-01-2006 10:03 PM

Okay! I got the css working and figured out the generator!! Some of my users used a css from a myspace site and it worked! The generator gets uploaded to your server then you add a link to it somewhere on your site :) I have created a forum just for profile design so I guess thats a good place to put the link! Unless I add it th the footer in profiles...ya that sounds good. lol

My noobness is starting to ware off ;)

Stangsta 07-02-2006 12:24 PM

Quote:

Originally Posted by puregraf
The database, seems to be corrupted and one of the table 'links' in the DB is missing.
my support told me. how do i fix this?

thanks

https://vborg.vbsupport.ru/showthread.php?t=100667

puregraf 07-02-2006 07:41 PM

Quote:

Originally Posted by Stangsta

ok i will post for help there. thank you.

Polo 07-03-2006 12:19 AM

cool thank you :D


All times are GMT. The time now is 03:51 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.02366 seconds
  • Memory Usage 1,863KB
  • 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
  • (5)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
  • (1)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