vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Who Viewed My Profile (https://vborg.vbsupport.ru/showthread.php?t=91772)

Andreas 07-18-2005 04:08 AM

Right.

In Hook misc_start
PHP Code:

if (($userid != $vbulletin->userinfo['userid'] AND !($permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeotherviews'])) OR !($permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeviews'])) 

should be

PHP Code:

if (($userid AND $userid != $vbulletin->userinfo['userid'] AND !($permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeotherviews'])) OR !($permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeviews'])) 

Gonna update the ZIP soon.

Biker_GA 07-18-2005 12:14 PM

Danke!

Brinnie 07-20-2005 05:56 PM

Okay, I figured it out. Nice mod. :) I have a feature request though:

Here is a profile on deviantART: http://h4m1337.deviantart.com/
On their profiles it shows only the 5 Recent Visitors and it displays them on the profile page without having to open a new window.
It also has the setting for users to dissable it. :)

Just a suggestion. ;)

Michael Morris 07-23-2005 01:37 AM

What's going wrong here. I tried using this hack's xml template as a pattern to get my own hack to work and install it's phrases and templates. It didn't work.

I then tried dumped the database and just install this hack to beta 4. No dice. So now I have no idea what to do next.

The vb plugin system is going to be utterly worthless for code portability if phrases and settings can't be packaged.

Andreas 07-26-2005 05:52 PM

Fixed a slight Bug and updated for RC1.

Boofo 07-26-2005 11:36 PM

No template changes, right? Just the product file? ;)

chizzzz 07-27-2005 03:05 PM

I cannot import the new file "product-profileviews.xml". It shows blank in my plugin manager, but if I try to import an older version, when it was named "profileviews.xml" it works fine. Please Help me

Andreas 07-27-2005 03:18 PM

@boofo
There are Template Edits, as stated in the Readme :)

@chizzzz
This is a Product XML, not a Plugin XML.
Therefore you must import it as Product, not as Plugin.

chizzzz 07-27-2005 03:34 PM

Aha! Thats it, Im new to 3.5 , didnt even know there was a difference in product and plugin, but it works like a Charm now, thanks a lot

Biker_GA 07-27-2005 04:59 PM

Quote:

Originally Posted by KirbyDE
@boofo
There are Template Edits, as stated in the Readme :)

I think he meant with the update... I was wondering the same thing. Were there any changes to the templates when you updated the mod?


All times are GMT. The time now is 10:10 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.01427 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)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
  • (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