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)

Dr Steevil 06-07-2006 11:30 AM

Quote:

Originally Posted by Stangsta
You could try this:
Code:

<a href="member.php?$session[sessionurl]u=$post[userid]"><strong>View your profile</a>

Thanks, I will give this a try!

Criscokid, yeah I've seen this link and that's cool too. What Stangsta is giving me is in all probability what I need. Since with the comment system I have there is no way of knowing you've received a comment without going to your profile, I wanted to provide a quick way for users to access it (most won't think to use the Quick Links pull down menu).

Thanks again, and thanks to everyone here who has contributed to making this hack. I have "installed" and would definately vote for it as hack of the year.

Now if only the "comments" problem could be ironed out for everyone. Can't wait to see it, may upgrade if I likey!

Dr Steevil 06-07-2006 11:47 AM

Well, it didn't work. I tried disabling the .htaccess file and that didn't work either. I get the error "Sorry, this user does not exist..."

Any other ideas?

criscokid 06-07-2006 01:01 PM

Before you click the link take a look at what the actual URL is (right click, 'copy shortcut') of the link then post that here.

Dr Steevil 06-07-2006 01:29 PM

In my particular case, it is embedded in a flash file. But I tried it also as an html code and as BBcode, none of them work.

The url I'm using is

Code:

http://www.hbclive.com/member.php?$session[sessionurl]u=$post[userid]
Since this site (vBulletin.org) is the same it should work here as well (modified of course), so let's try it...

Using this code
HTML Code:

https://vborg.vbsupport.ru/member.php?$session[sessionurl]u=$post[userid]
https://vborg.vbsupport.ru/member.php?$session[sessionurl]u=$post[userid]

When you click that link, you'll get this error:

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

jerx 06-07-2006 05:11 PM

Quote:

Originally Posted by Stangsta
Comments were dissapering because you didnt set your permissions right and users were able to delete others comments. I know a large group of people that DO NOT have that problem. Or you could save your money and wait till the new version of the myspace hack comes out. There will be a new version better than anything out there.

What are the right permissions? I only saw settings which seem to be harmless:

Can comment on profiles? Yes No
Can this usergroup view comments? Yes No
Can usergroup delete their own comments? Yes No
Can report comments? Yes No
Can edit their own comments? Yes No

Even if you set everything to yes, there should be no problem. Am I missing anything?

Dr Steevil 06-07-2006 08:33 PM

Quote:

Originally Posted by Stangsta
By using [img] tags around the picture in the profile fields that are parsed.

Going way back for this one. Can't figure out what's wrong. I have parsed all of the fields that are multi-line text fields and double checked them and they are all correct. But when I place an image file in the [img] tags all it does is make it a link. Rather odd, because in the regular forum posts, it works fine.

This is a sample of my parser plug-in code

Code:

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

And yes, I have duplicated this for all of the fields I want parsed, and double checked to make sure all fields are changed to the values I need.

Stangsta 06-07-2006 08:35 PM

Quote:

Originally Posted by jerx
What are the right permissions? I only saw settings which seem to be harmless:

Can comment on profiles? Yes No
Can this usergroup view comments? Yes No
Can usergroup delete their own comments? Yes No
Can report comments? Yes No
Can edit their own comments? Yes No

Even if you set everything to yes, there should be no problem. Am I missing anything?

Can usergroup delete their own comments? Yes No

You call that harmless? Put that in the hands of your members...see what happens. :) Also, mods and admins have full delete permissions.

jerx 06-07-2006 09:06 PM

Quote:

Originally Posted by Stangsta
Can usergroup delete their own comments? Yes No

You call that harmless? Put that in the hands of your members...see what happens. :) Also, mods and admins have full delete permissions.

I might have misunderstood the setting. I thought that everyone of the usergroup can delete his own comments, not the comments of other users of the same usergroup. Therefore it would have been their own fault. They should not be surprised about missing entries, because they deleted the entries themselves.

And if a mod or an admin deletes entries, it should be no surprise for the admin. He should know that the entries have been deleted on purpose.

So, I still wonder why several vB admins have reported this. Either there is really a bug or they have been just lazy to investigate the problem carefully.

Dr Steevil 06-08-2006 06:32 PM

Try again.

I need help with the parse code plug-in. I have created the plug-in (I call it Profile Field Parser) in the member_complete hook per instructions. My code is arranged as follows:

Code:

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

I copied and pasted that code several times, changing the fieldx value to reflect the fields I need parsed.

My problem is that images aren't appearing. It just converts the file path to a link which of course when clicked shows the image in another browser window. I can't figure out what is wrong, because the use of the [IMG] tag works elsewhere on the site just fine. Is the product location of the plug-in wrong? I have it in vBulletin.

Stangsta 06-09-2006 01:06 AM

Quote:

Originally Posted by Dr Steevil
Try again.

I need help with the parse code plug-in. I have created the plug-in (I call it Profile Field Parser) in the member_complete hook per instructions. My code is arranged as follows:

Code:

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

I copied and pasted that code several times, changing the fieldx value to reflect the fields I need parsed.

My problem is that images aren't appearing. It just converts the file path to a link which of course when clicked shows the image in another browser window. I can't figure out what is wrong, because the use of the [IMG] tag works elsewhere on the site just fine. Is the product location of the plug-in wrong? I have it in vBulletin.

Its either conflicting with something else on your site OR you dont have it in the MEMBER_COMPLETE hook location.


All times are GMT. The time now is 07:40 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.02029 seconds
  • Memory Usage 1,758KB
  • 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
  • (1)bbcode_html_printable
  • (6)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