vBulletin Modifications

Embedding Usernotes In Member Info

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 01-02-2007, 01:31 PM   #1
vB Newbie
Join Date: Jun 2006
marksyzm is on a distinguished road

Question Embedding Usernotes In Member Info

I'm having a little problem with one line of code where I'm trying to embed a small part of the usernotes code (the one that shows the notes) in the file "member.php".

It appears that it won't allow a particular array to be parsed within the code using it's current method:

You must first be a registered member to view any code.
The line of code that isn't working is the one within "/* */". This causes a break, so I was thinking of maybe using a different technique to code this e.g. changing the way it fetches the 'usernote'

Do you know a way that I can fix this?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 01-03-2007, 10:58 AM   #2
vB Newbie
Join Date: Jun 2006
marksyzm is on a distinguished road

Default

Okay I got it in the end... it's suprisingly easy, and you don't have to embed any code at all except for an "include"




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-03-2007, 07:23 PM   #3
Coder
Join Date: Jun 2004
Location: Attic
xfile is on a distinguished road

Default

Quote:
Originally Posted by marksyzm View Post
Okay I got it in the end... it's suprisingly easy, and you don't have to embed any code at all except for an "include"
and the way to do that is ....... ?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-08-2007, 01:37 PM   #4
vB Newbie
Join Date: Jun 2006
marksyzm is on a distinguished road

Default

Well, if you look at the code in usernote.php, if there is no "do" command then it automatically opens the usernotes. By doing an include on the usernote.php, you can then show (just the notes) in the profile page. There's a little tweaking with permissions you have to do, either by hard-coding or by user perms to show the profile, but it definitely, definitely works




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How-To] php: fetch specific info from remote + intro to regexp Idan vBulletin Modification Tutorials 3 09-03-2006 05:28 PM
How do I fetch info from datastore inside a plugin? Kriminal General vBulletin Discussion 0 07-17-2006 11:26 PM
Rebuilding bitfields and missing member info doggy1 General vBulletin Discussion 5 07-12-2006 10:45 PM
integrated member portfolios arossphoto vBulletin Modification Requests 11 05-11-2006 06:21 AM


All times are GMT -3. The time now is 07:27 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)