vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Personal Favorites (https://vborg.vbsupport.ru/showthread.php?t=37775)

myluntan 04-29-2002 11:52 AM

Quote:

Originally posted by Okiewan
Are the templates available? The installer won't create them :(
yes ,but it only in the default templates.? The installer works great

Freddie Bingham 04-29-2002 08:15 PM

Quote:

Originally posted by Lesane


I've converted it. The hack is working great on my forum.

Then you should release it, I wouldn't care at all.

Psychdrone 04-30-2002 01:45 AM

hey where ezactly would I put the code to change the New post thing>>????

Birdie501 05-01-2002 03:11 PM

hi,

i like this hack! Maybe you could add an improvement! Is it possible that if the user has not allowed to show his favorites to public, that the link in postbit to his favorites is not shown?

Because i think it is bad that if a user clicks on it, it only say some standard error that he has no rights to do that!

Then if i add a thread to my favorites, it only shows an empty redirection page??? Wonder why?

myluntan 05-01-2002 03:27 PM

make sure the redirect_favaddthanks template is not empty ,the improvement i will write later.i am very glad to konw you like this hack.

myluntan 05-02-2002 02:46 AM

The improvement:
open admin/functions.php
find
PHP Code:

if ($post['receivepm'] and $enablepms==1) {eval("\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
        } else {
            
$post[pmlink] = "";
        } 

under it add
PHP Code:

if($post[canviewfavdef]){
            
$fav_postbit="<a href ='favorites.php?action=view&userid=$post[userid]'>view fav </a>";
        }else{
$fav_postbit="";
        } 

modify template
postbit
replace the code
Code:

<BR><A HREF="favorites.php?action=view&userid=$post[userid]">view favorite</A>
with
PHP Code:

$fav_postbit 

thats all
enjoy it.^^

Lesane 05-02-2002 07:15 PM

Quote:

Originally posted by freddie
Then you should release it, I wouldn't care at all.
I will not release it as a new hack, i will post it in the appropriate thread. But can you remember that old thread of yours because i couldn't find it.

NTLDR 05-02-2002 07:26 PM

Quote:

Originally posted by Lesane
But can you remember that old thread of yours because i couldn't find it.
That thread is likly to be in the Old Hacks forum which is locked.

I would love to see a working version of this hack, this thread should be in the beta forum really.

Lesane 05-02-2002 07:39 PM

Quote:

Originally posted by NTLDR


That thread is likly to be in the Old Hacks forum which is locked.

I would love to see a working version of this hack, this thread should be in the beta forum really.

Found it :)

I will post a working version in the old thread soon. The version is compatible with Vb 2.2.*

https://vborg.vbsupport.ru/showthrea...&threadid=4135

NTLDR 05-02-2002 07:46 PM

Thanks Lesane, I look forward to installing it ;)


All times are GMT. The time now is 11:04 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.01100 seconds
  • Memory Usage 1,744KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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