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)

Entourage 04-25-2002 11:34 AM

WallStreet tnx for the bug fix!! Gonna try that here also

WallStreat 04-25-2002 11:45 AM

i replaced "new thread" button with "add to favourites" button in shwothread.php, hence "add to favourites" will be more prominent. here's my codew in showthread template



PHP Code:

        <td><a href="favorites.php?action=add&threadid=$threadid"><img src="images/add-to-fav.gif" border="0" alt="Add to Favourites"></a><!--<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{newthreadimage}" border="0" alt="Post New Thread"></a>--></td>
        <
td><normalfont>&nbsp;&nbsp;</normalfont></td>
        <
td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replycloseborder="0" alt="Post A Reply"></a></td

attached is the psd file for "add to favourites"

Lesane 04-25-2002 06:47 PM

Quote:

Originally posted by freddie
I wrote a favorites hack for vB v1.1.x but it never was updated for v2.x

v3.0 already has favorites in place. Favorites can be placed in folders and don't generate emails when new replies are made.

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

Psychdrone 04-25-2002 06:57 PM

Quote:

Originally posted by WallStreat
i replaced "new thread" button with "add to favourites" button in shwothread.php, hence "add to favourites" will be more prominent. here's my codew in showthread template



PHP Code:

        <td><a href="favorites.php?action=add&threadid=$threadid"><img src="images/add-to-fav.gif" border="0" alt="Add to Favourites"></a><!--<a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="https://vborg.vbsupport.ru/images/newthread.gif" border="0" alt="Post New Thread"></a>--></td>
        <
td><normalfont>&nbsp;&nbsp;</normalfont></td>
        <
td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replycloseborder="0" alt="Post A Reply"></a></td

attached is the psd file for "add to favourites"

Nice...... can you give ezact instructions on how to do this?

THanks!

Erwin 04-26-2002 01:52 AM

Nice one. Had to tidy up the templates quite a bit, and correct spelling errors, but the outcome looks great.

myluntan 04-26-2002 07:36 AM

hack version update you can find the attchement in the firts post

Erwin 04-26-2002 03:21 PM

The update seems to work okay, although sometimes for some reason the screen appears as a blank page. Shall let my members "beta" test it for me. :) Thanks.

Psychdrone 04-26-2002 08:01 PM

can somone one release the code for what the guy said above

mADmAX` 04-27-2002 04:39 PM

How would you go about adding a custom error message if you try to view someones favorites but they chose not to share them? Currently, you get the default no permission msg...

Okiewan 04-29-2002 01:06 AM

Are the templates available? The installer won't create them :(


All times are GMT. The time now is 04:44 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.01144 seconds
  • Memory Usage 1,759KB
  • 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
  • (2)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