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)

moonclamp 10-19-2005 07:57 AM

For some reason this is not showing my hits on other's profiles ... the administrator group settings are correct and it works fine for other users and my test account (registered member group)

RaceJunkie 10-29-2005 04:17 AM

Works but I have this problem.

http://www.localracechat.com/forums/images/table.bmp

.Tim 10-29-2005 04:27 AM

Did you add the code ABOVE this?

Code:

</table>
<!-- / usercp nav -->


kittykattjess 10-29-2005 08:52 AM

are the both XML files going to the same folder, if so which one.. sorry but I need to know which folder as I am a bit new to this.

T I A

Allan 10-29-2005 09:41 PM

I have to uninstall the hack, and when I updates usergroup in Admincp, I have this error:

Quote:

Database error in vBulletin 3.5.0:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrateurs',
`description` = '',
`usertitle` = '<img alt=\"Admin\" src=\"images/status/administrateur.gif\" border=\"0\">',
`opentag` = '<b><i>',
`closetag` = '</b></i>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`forumpermissions` = '1048575',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520831',
`genericoptions` = '23',
`profilepicmaxwidth` = '1000',
`profilepicmaxheight` = '1000',
`profilepicmaxsize` = '6553500',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`userpagepermissions` = '15',
`profileviewpermissions` = '0'
WHERE usergroupid=6;

MySQL Error : Unknown column 'profileviewpermissions' in 'field list'
Error Number : 1054
Date : Sunday, October 30th 2005 @ 12:37:57 AM
Script : http://www.phylosophia.com/forum/admincp/usergroup.php
Referrer : http://www.phylosophia.com/forum/adm...&usergroupid=6
IP Address : xx.xxx.xx.xxxx
Username : Allan
Classname : vb_database

Andreas 10-29-2005 09:48 PM

You did not uninstall it correctly.

RaceJunkie 10-30-2005 03:46 AM

Quote:

Originally Posted by .Tim
Did you add the code ABOVE this?

Code:

</table>
<!-- / usercp nav -->


I had the </table> in the wrong spot.. :ermm: All fine now

Parture 11-01-2005 12:59 PM

Quote:

All profile views read 0 and I can't find the link in my User CP?

http://biblocality.com/forums

I did a search for "profileviewpermissions" for phrases and variables and nothing comes up???
I know what I did wrong. I forgot to upload the bitfield file to xml. I see I have the product xml file in the /xml folder so I think it is not suppose to be there and I accidently uploaded it instead. Was that my mistake? Should I take the product-profileviews.xml file out of the xml folder? -- I'll remove it, since I am pretty sure it is not suppose to be there as I don't see any other files there called product....xml

Rukas 11-29-2005 11:05 AM

How much extra bandwidth does this use?

lsgworldl 12-01-2005 07:36 PM

I have a slight problem here is a screen shot

Andreas 12-01-2005 07:44 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=808139&postcount=87" target="_blank">https://vborg.vbsupport.ru/showp...9&postcount=87</a>

lsgworldl 12-01-2005 09:13 PM

Quote:

Originally Posted by Andreas

and that means what? and who are you refering to would be nice to say who you are answering and where to add this?

and more info

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/lsgworld/public_html/pspgameforums/forum/includes/adminfunctions_template.php(3532) : eval()'d code on line 134

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

lsgworldl 12-01-2005 10:29 PM

this is how my template looks

PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
$headinclude
    
<title>$vboptions[bbtitle] - $pagetitle</title>
</
head>
<
body$onload>
$header
$navbar

<!-- table to support left column nav -->
<
table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<
tr valign="top">
<
td>
    
<!-- 
usercp nav -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0">
<
tr>
    <
td class="tcat"><a href="usercp.php$session[sessionurl_q]">$vbphrase[control_panel]</a></td>
</
tr>
<
tr>
    <
td class="thead">$vbphrase[settings_and_options]</td>
</
tr>
<if 
condition="$show['siglink']">
    <
tr>
        <
td class="$navclass[signature]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td>
    </
tr>
</if>
<
tr>
    <
td class="$navclass[password]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editpassword">$vbphrase[edit_email_and_password]</a></td>
</
tr>
<
tr>
    <
td class="$navclass[profile]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td>
</
tr>
<
tr>
    <
td class="$navclass[options]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td>
</
tr>
<if 
condition="$show['avatarlink']">
    <
tr>
        <
td class="$navclass[avatar]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td>
    </
tr>
</if>
<if 
condition="$show['profilepiclink']">
    <
tr>
        <
td class="$navclass[profilepic]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td>
    </
tr>
</if>
<if 
condition="$show['pmstats']">
    <
tr>
        <
td class="thead" nowrap="nowrap">
            <
span id="nav_pmfolders">$vbphrase[private_messages] <if condition="$show['popups']"><script type="text/javascript"vbmenu_register("nav_pmfolders"); </script></if></span>
            <if 
condition="$show['popups']">            
                <
div class="vbmenu_popup" id="nav_pmfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
                    <
table cellpadding="4" cellspacing="1" border="0">
                    <
tr>
                        <
td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
                    </
tr>
                    
$cpnav[pmfolders]
                    </
table>
                </
div>
            </if>
        </
td>
    </
tr>
    <
tr>
        <
td class="$navclass[pm_messagelist]nowrap="nowrap"><class="smallfont" href="private.php$session[sessionurl_q]">$vbphrase[list_messages]</a></td>
    </
tr>
    <
tr>
        <
td class="$navclass[pm_newpm]nowrap="nowrap"><class="smallfont" href="private.php?$session[sessionurl]do=newpm">$vbphrase[send_new_message]</a></td>
    </
tr>
    <if 
condition="$show['pmtracklink']">
        <
tr>
            <
td class="$navclass[pm_trackpm]nowrap="nowrap"><class="smallfont" href="private.php?$session[sessionurl]do=trackpm">$vbphrase[track_messages]</a></td>
        </
tr>
    </if>
    <
tr>
        <
td class="$navclass[pm_editfolders]nowrap="nowrap"><class="smallfont" href="private.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td>
    </
tr>
</if>
<
tr>
    <
td class="thead" nowrap="nowrap">
        <
span id="nav_subsfolders">$vbphrase[subscribed_threads] <if condition="$show['popups']"><script type="text/javascript"vbmenu_register("nav_subsfolders"); </script></if></span>
        <if 
condition="$show['popups']">
            <
div class="vbmenu_popup" id="nav_subsfolders_menu" style="display:<if condition="$show['popups']">none<else />block</if>">
                <
table cellpadding="4" cellspacing="1" border="0">
                <
tr>
                    <
td class="thead" nowrap="nowrap">$vbphrase[folders]</td>
                </
tr>
                
$cpnav[subsfolders]
                </
table>
            </
div>
        </if>
    </
td>
</
tr>
<
tr>
    <
td class="$navclass[substhreads_listthreads]nowrap="nowrap"><class="smallfont" href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[list_subscriptions]</a></td>
</
tr>
<
tr>
    <
td class="$navclass[substhreads_editfolders]nowrap="nowrap"><class="smallfont" href="subscription.php?$session[sessionurl]do=editfolders">$vbphrase[edit_folders]</a></td>
</
tr>
<
tr>
    <
td class="thead">$vbphrase[miscellaneous]</td>
</
tr>
<
tr>
    <
td class="$navclass[event_reminders]nowrap="nowrap"><class="smallfont" href="calendar.php?$session[sessionurl]do=viewreminder">$vbphrase[event_reminders]</a></td>
</
tr>
<if 
condition="$show['paidsubscriptions']">
<
tr>
    <
td class="$navclass[paid_subscriptions]nowrap="nowrap"><class="smallfont" href="payments.php$session[sessionurl_q]">$vbphrase[paid_subscriptions]</a></td>
</
tr>
</if>
<if 
condition="$show['publicgroups']">
<
tr>
    <
td class="$navclass[usergroups]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editusergroups">$vbphrase[group_memberships]</a></td>
</
tr>
</if>
<
tr>
    <
td class="$navclass[buddylist]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editlist">$vbphrase[buddy_ignore_lists]</a></td>
</
tr>
<if 
condition="$show['attachments']">
<
tr>
    <
td class="$navclass[attachments]nowrap="nowrap"><class="smallfont" href="profile.php?$session[sessionurl]do=editattachments">$vbphrase[attachments]</a></td>
</
tr>
</if>

<if 
condition="$permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeviews']">
   <
tr>
       <
td class="alt2" nowrap="nowrap"><class="smallfont" href="#" onclick="openWindow('misc.php?$session[sessionurl]do=profileviews', 300, 400); return false;">$vbphrase[who_viewed_my_profile]</a></td>
   </
tr>
   </if>

</
table>
<!-- / 
usercp nav -->

<if 
condition="$permissions['profileviewpermissions'] & $vbulletin->bf_ugp_profileviewpermissions['canseeviews']">
   <
tr>
       
</
td>
<
td>&nbsp;&nbsp;</td>
<
td width="100%">

<!-- 
main page contents -->
$HTML
<!-- / main page contents -->
    
</
td>
</
tr>
</
table>
<!-- / 
table to support left column nav -->
$footer
</body>
</
html


Andreas 12-02-2005 04:36 AM

@lsgworldl
Your screenshot shows that you edited template USERCP_SHELL incorrectly.
The link I posted describes the problem.

Snake 12-09-2005 10:47 AM

Works on 3.5.2?

RaceJunkie 12-10-2005 02:28 PM

Quote:

Originally Posted by Aftermath
Works on 3.5.2?


Yes I just upgraded to 3.5.2 and all works fine

Snake 12-10-2005 03:36 PM

Coolio.

Hanif 12-10-2005 03:50 PM

Andreas,

Just read the thread is there any way to send a user an email or pm once their profile has been read and give the user the option to block further notices??

Something like the following would be great:

Hanif,

Andreas has looked at your profile. http://www.sitename/forums/[member profile_id

You can see who else has looked at your profile here:- http://www.www.sitename/forums/

If you don't want to receive these notifications, you can change your settings here: http://www.www.sitename/forums/something???

Kind regards,

Hanif

Alphawolf83 12-11-2005 04:23 PM

Is this hack available for 3.0.7?

IrPr 12-27-2005 08:09 PM

not workin in 3.5.2

Andreas 12-28-2005 01:33 AM

Nope, works fine with 3.5.2

AquilaEagle 12-28-2005 07:58 AM

Nice, will try this out :)

chizzzz 12-31-2005 05:10 PM

Does anyone know the code or steps to show the last XX amount of people who viewed your priofile DIRECTLY on the profile Page, instead of a link to a popup?

Lpspider 01-03-2006 12:56 AM

Quote:

Originally Posted by chizzzz
Does anyone know the code or steps to show the last XX amount of people who viewed your priofile DIRECTLY on the profile Page, instead of a link to a popup?

I'd like this to please.

The Chief 01-03-2006 05:35 PM

works great, thanks for this ;)

[high]* The Chief clicks install[/high]

tendo 01-16-2006 12:23 AM

does this work on 3.5.3? looks awesome !

snyx 01-21-2006 11:07 PM

how would one go about adding the users viewed to the actual MEMBERINFO template. using this code. I tired to play about with the xml but im still trying to wrap my head around this new system.

HTML Code:

                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
        <td class="tcat" colspan="2">
                <if condition="$show['otherprofile']">
                $vbphrase[who_viewed_this_profile]
                <else />
                $vbphrase[who_viewed_my_profile]
                </if>
                <div class="smallfont">$vbphrase[profile_views]: $totalviews</div>
        </td>
</tr>
<tr>
        <td class="thead" width="100%">$vbphrase[username]</td>
        <td class="thead">$vbphrase[last_visit]</td>
</tr>
$profileviewbits

</table>

<br />


Silvio 01-23-2006 10:16 AM

Dear Andrea,

I've *Installed* your great mod but i have a little problem and i need Help.

I cant see on own profile the last added menĂ¹ reguarding who wiewed profile.

I uploaded on my vbull 3.5.3 ur module downloaded yesterday night (so recent) i have done all modifications required as per your instructions, but
1) on my profile users field (Your demo pic nr 1 from left) that show how many viewd profile is always at : 0 (by the way I will duble check on forum permission)

2) on personal panel there is not the menu as per Your demo pic nr 3 from left and i cant figure how to show it.

3) I am not able to find the query as per Your demo pic nr 1 from left.

I will be very gratefull for kind help on it

ty & regards

I apologize for my bad english, I hope all is understandable.

ciao take care

EXCUSE ME EDITED POST :

I found permissions all to disable position so now I set them up and all is solved Sorry for my lamerness.

Great mod & works perfectly ciao!!!

Silvio 01-23-2006 02:51 PM

Andreas,

Is it possible to add 2 possibilities more to this gorgeous mod?

1) show/not show Hidden users on the who view list.
2) show/not show administrators on the who view list.

ty 4 help

regards

Andreas 01-23-2006 11:19 PM

Users who can see hidden users will see them, others won't

Silvio 01-24-2006 08:42 AM

Ty so much Andreas, I did realized that, but i would like to have the possibility to show even hiddens if required. ( I am trying to hide only online users that likes to be hidden, but what they did in the forum could be nice to be tracked and displayed for the future use/stat)

Reguarding Administrators, can you please explain me how can I set that group not to be visible by users on view profile even if adm is Not hidden? (but at same time visible on view profile from other admins)

take care

Again excuse my bad english but is quite difficult for me to explain with few words (and without mistakes) what I need.

ciao

XtremeOffroad 02-07-2006 01:17 AM

Works fantastic.
Installed and yep clicked install too :nervous:

Silvio 03-12-2006 02:15 PM

....

PHP Code:

<product productid="profileviews" title="Who Viewed My Profile" description="This Hack logs Profile Views and displays the last X Visitors." version="1.0.3" active="1"

should be


PHP Code:

<product productid="profileviews" title="Who Viewed My Profile" description="This Hack logs Profile Views and displays the last X Visitors." version="1.0.4" active="1"

?

ciao

shadowdancer36 03-15-2006 01:35 PM

If I wanted to do a custom menu but wanted to bring up who viewed my profile, what would the html (link) be? I tried pasting what was in the control panel, but it brings up the 'Edit Options' screen when put in as a link.

Andreas 03-17-2006 03:04 AM

@Silvio
Indeed.

Andreas 03-17-2006 02:54 PM

Then you already have an setting "maxprofileviews".
check to which product it belongs.

makemedie 03-17-2006 05:48 PM

Hey, I tried uninstalling the product, and it seems something has gone wrong here. Now whenever I try editing usergroups, it gives me the following error -

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = 'Private Community Member',
        `description` = '',
        `usertitle` = 'Private Community Member',
        `opentag` = '<font color=\"#000033\"><b>~',
        `closetag` = '</color>',
        `passwordexpires` = '0',
        `passwordhistory` = '0',
        `ispublicgroup` = '0',
        `canoverride` = '0',
        `forumpermissions` = '782583',
        `attachlimit` = '1000000',
        `pmquota` = '50',
        `pmpermissions` = '3',
        `pmsendmax` = '5',
        `calendarpermissions` = '17',
        `wolpermissions` = '1',
        `adminpermissions` = '0',
        `genericpermissions` = '201899743',
        `genericoptions` = '15',
        `profilepicmaxwidth` = '200',
        `profilepicmaxheight` = '200',
        `profilepicmaxsize` = '25000',
        `avatarmaxwidth` = '200',
        `avatarmaxheight` = '200',
        `avatarmaxsize` = '999999999',
        `profileviewpermissions` = '0'
WHERE usergroupid=9;

MySQL Error  : Unknown column 'profileviewpermissions' in 'field list'
Error Number : 1054

Any idea why this error is happening and how I can fix it?

Andreas 03-17-2006 05:57 PM

Which vBulletin version do you use?
Did you delete the bitfield XML file before uninstalling the product?

makemedie 03-18-2006 04:30 AM

Quote:

Originally Posted by Andreas
Which vBulletin version do you use?
Did you delete the bitfield XML file before uninstalling the product?

I use vBulletin 3.5.3

I dont remember, it's been a while. As far as I know, I went straight to the plugin manager and uninstalled the plugin from there. Or deleted. Whichever.

shadowdancer36 03-18-2006 04:47 PM

If I wanted to do a custom menu but wanted to bring up who viewed my profile, what would the html be? I tried pasting what was in the control panel, but it brings up the 'Edit Options' screen when put in as a link.


All times are GMT. The time now is 09:50 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.01813 seconds
  • Memory Usage 1,947KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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