Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who Viewed My Profile Details »»
Who Viewed My Profile
Version: 1.0.4, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 07-06-2005 Last Update: 12-29-2007 Installs: 364
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Who Viewed My Profile
Description
This Hack logs Profile Views and displays the last X Visitors.
It has settings for Flood Control, showing Unique Visitors and several Permissions (Can See Profile Views, Can see others Profile Views, Log Profile Views for Usergroup, Log Profile Views made by Usergroup).
It also takes care of invisible Users: They will be logged, but only shown to those who can see hidden Users.

Details
1 Product XML with 3 Queries, 3 Settings, 9 Phrases, 2 Templates and 3 Plugins
1 Bitfield XML
2 Template Edits

History
1.0.0
Initial Version
1.0.1
Fixed a Bug that caused an SQL Error upon installation on Systems that use Table-Prefixes
1.0.2
Fixed a Bug that caused an SQL Error when Floodcheck was enabled
1.0.3
Fixed a slight Bug for Permissions checks and updated for RC1 compatibiality
Please note: This Hack does only work for vBulletin 3.5.0 RC1 and up!
1.0.4
Fixed a slight typo that caused logging self-views in very rare cases

Important Note
This Add-on is no longer developed as vBulletin 3.7 contains similar built-in functionality.
You can use the attached product-profileviewsconvert.xml to convert existing data into vBulletin 3.7 format.
If you uninstall this hack before convertig the data, all existing data will be lost!

Please only click Install if you actually have installed/are using this Hack, and click Uninstall when you don't use it any longer!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 12-01-2005, 07:44 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showpost.php?p=808139&postcount=87" target="_blank">https://vborg.vbsupport.ru/showp...9&postcount=87</a>
Reply With Quote
  #93  
Old 12-01-2005, 09:13 PM
lsgworldl lsgworldl is offline
 
Join Date: Sep 2005
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #94  
Old 12-01-2005, 10:29 PM
lsgworldl lsgworldl is offline
 
Join Date: Sep 2005
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #95  
Old 12-02-2005, 04:36 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@lsgworldl
Your screenshot shows that you edited template USERCP_SHELL incorrectly.
The link I posted describes the problem.
Reply With Quote
  #96  
Old 12-09-2005, 10:47 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on 3.5.2?
Reply With Quote
  #97  
Old 12-10-2005, 02:28 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aftermath
Works on 3.5.2?

Yes I just upgraded to 3.5.2 and all works fine
Reply With Quote
  #98  
Old 12-10-2005, 03:36 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coolio.
Reply With Quote
  #99  
Old 12-10-2005, 03:50 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #100  
Old 12-11-2005, 04:23 PM
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
 
Join Date: Mar 2005
Location: Germany
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this hack available for 3.0.7?
Reply With Quote
  #101  
Old 12-27-2005, 08:09 PM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not workin in 3.5.2
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:36 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.04857 seconds
  • Memory Usage 2,408KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete