vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - Secret Admirer (https://vborg.vbsupport.ru/showthread.php?t=96393)

buro9 03-31-2006 01:09 PM

Quote:

Originally Posted by jerx
This is really a funny hack!

I plan to use the who viewed my profile hack. It logs the time a user visits a profile. If you register your admiration, you can be easily tracked. Does anybody have a good idea how to keep it secret?

Put the admire links somewhere else... how about the dropdown of the user links in postbit?

Rahuldhanpat 04-05-2006 10:04 AM

Quote:

ADDING THE LINKS TO THE TEMPLATES

I've left this stage manual... you might have customised your templates or choose to put these links elsewhere.

TEMPLATE SECTION: User Control Panel Templates
TEMPLATE: USERCP_SHELL
FIND (near the bottom):
Code:

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

ABOVE IT ADD:
Code:

<tr>
<td class="$navclass[attachments]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=admirereport" title="Have your secret admirer report e-mailed to you">Secret Admirer Report</a></td>
</tr>


TEMPLATE SECTION: Member Info Templates
TEMPLATE: MEMBERINFO
FIND (about 1/3rd of the way down within the 'button row' section):
Code:

<if condition="can_moderate()">
<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
</if>

ABOVE IT ADD:
Code:

<td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=admire&amp;useri

i did all above exceept this templet work....plz tell me where is this tememplet and where to write this code. Do i have to just copy and paste it...

Plz give me the screen shot of temeplate where i have to write this codes..?

I m on half completed...help me..

psypix 04-09-2006 01:10 PM

Quote:

Originally Posted by princessfrozen
See secretheart.jpg in the attachments below. To do it, follow these instructions....

In postbit

Find:
PHP Code:

            <div id="postmenu_$post[postid]">
                <if 
condition="$show['profile']">
                <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
                <else />
                
$post[musername]                </if>
            </
div

Replace with:
PHP Code:

            <span id="postmenu_$post[postid]">
                <if 
condition="$show['profile']">
                <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                <
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
                <else />
                
$post[musername]                </if>
            </
span><a href="profile.php?$session[sessionurl]do=admire&amp;userid=$post[userid]"><img src="/images/heart.png" border=0 alt="Register your admiration for $post[username]"></a

Upload heart.png* to /forumroot/images/

(edit the img path if neccessary)

Done!

*heart.png courtesy of http://www.famfamfam.com

Am i right in assuming this will place a heart next to all the people you admire and visa versa?

Cool if it does :cool:

Krose 04-22-2006 11:13 PM

my members amazed by this hack! thanx a lot it adds attraction to my site..*clicked install*

Krose 04-25-2006 01:33 AM

Quote:

Originally Posted by Barteken
it says it is being send but no ones recieves e-mail/pm?
someone got ideas?

Grtz

i have the same problem here, only the administrators and mods can
recieve the pm's/e-mails, ordinary members can't recieve them..how can
i fix this? :(

Krose 04-28-2006 10:16 AM

Thanx for your PM..it's working now! :banana:

Snake 04-28-2006 01:04 PM

Thanks for this major hack! :D

doggy1 05-25-2006 01:29 AM

Quote:

Originally Posted by Krose
i have the same problem here, only the administrators and mods can
recieve the pm's/e-mails, ordinary members can't recieve them..how can
i fix this? :(

I have installed this on my site and I too am stuck on the PM/email thingy. Everything seems okay but no pms are being sent when you admire someone.

What am I missing here? Thanks!

Seems like a great hack!!!!!!

doggy1 05-25-2006 04:42 PM

I got the pm and emails to work. I had to create the id of the secret admirer.

But I was wondering if there was a way to change the message that is sent by PM? Thanks!

And great hack!!!!!!

blogtorank 05-25-2006 07:37 PM

This would be great for dating forums, however will give this a go!! ;)


All times are GMT. The time now is 06: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.02258 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
  • (2)bbcode_php_printable
  • (5)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