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 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


All times are GMT. The time now is 01:42 AM.

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.01511 seconds
  • Memory Usage 1,847KB
  • 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
  • (1)bbcode_php_printable
  • (2)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