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)

Murty 02-03-2006 07:53 AM

can i??

nicedreams 02-03-2006 01:40 PM

Well, you could always look in the screatadmirer table in your database.

Jimmy

dxguru 02-04-2006 11:35 AM

Quote:

Originally Posted by nicedreams
Ok, I figured out another plugin is interfering somehow with this one. I'm not sure why it is, it is a plugin hooked at global_start calling a function from coppermine's cpmfetch function. I removed the close line $objCpm->cpm_close(); and now it works.

I moved the $objCpm->cpm_close(); line to a hook at forumdisplay_complete. I'm not sure if it is doing anything there or not. Is there a better hook i can maybe put this close line at?

Jim

I'm having this same problem ... how do I work out where the conflict is happening? (if it is a conflict)

dxguru 02-04-2006 12:20 PM

No matter ... figured it out. I just changed the db insert command in the php file to use the vB standard and all is now good :)

pete_brady 02-06-2006 10:02 PM

Quote:

Originally Posted by dxguru
No matter ... figured it out. I just changed the db insert command in the php file to use the vB standard and all is now good :)

uhh could you elaborate on this, please? having the same problem here...

pete_brady 02-07-2006 06:00 PM

Quote:

Originally Posted by pete_brady
uhh could you elaborate on this, please? having the same problem here...

figured it out

EricaJoy 02-09-2006 01:23 PM

Does anybody know if the register your admiration business can be done from the postbit?

edit: nvm, figured it out. yes its possible, i'll post here what i did later today.

buro9 02-09-2006 01:55 PM

Quote:

Originally Posted by princessfrozen
Does anybody know if the register your admiration business can be done from the postbit?

It can be done from anywhere... just create a link to do so from the postbit template. Use the memberinfo adjustment above as inspiration.

EricaJoy 02-09-2006 09:19 PM

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

Barteken 02-10-2006 08:08 PM

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

Grtz


All times are GMT. The time now is 01:14 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.01395 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)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
  • (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