Favorite Topics Mod

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
DanielT
Former Team Member
Posts: 3324
Joined: Tue Aug 27, 2002 10:55 am
Contact:

Favorite Topics Mod

Post by DanielT » Mon Jan 20, 2003 6:28 pm

MOD Released At: http://www.phpbb.com/phpBB/viewtopic.php?t=73503


(thread locked)


Need a few testers for;

Code: Select all

###############################################
## MOD Title: Favorites Mod
## MOD Author: DanielT < danielt@hackermail.com > (Daniel Taylor) http://www.commnet.mine.nu 
## MOD Description: Also users the build a favorite topics list
## MOD Version: 1.0.0 
## 
## Installation Level: moderate
## Installation Time: 10 Minutes 
## Files To Edit: viewtopic.php
##              includes/page_header.php
##              templates/subSilver/overall_header.tpl
##              templates/subSilver/viewtopic_body.tpl
##              language/lang_english/lang_main.php
## Included Files: favorites.php, fav_body.tpl
############################################### 
Allows Users To add topics to a favorites list,

the mod places a link under the 'watch this topic' link, which allows you to add the topic to the list, using the link in the header you can view your favorites, and jump to them and delete them.. simple


you will also need to run the following sql!(not in the zip *yet*, as soon as lycos stops playing around it will be)
CREATE TABLE `phpbb_favorites` (
`fav_id` int(11) NOT NULL auto_increment,
`user_id` int(11) NOT NULL default '0',
`topic_id` int(11) NOT NULL default '0',
PRIMARY KEY (`fav_id`)
)


where phpbb_ is you table prefix (you can find this in your config.php)

:)
Last edited by DanielT on Fri Jan 31, 2003 5:22 pm, edited 4 times in total.

User avatar
lar
Registered User
Posts: 248
Joined: Sat Oct 26, 2002 9:07 pm
Location: Next to heaven
Contact:

Post by lar » Mon Jan 20, 2003 6:46 pm

I always wanted that mod! thanx dan! :D :D
My signature is violating phpbb rules........
Warning Level :: 90%

Ralendil
Registered User
Posts: 410
Joined: Thu May 30, 2002 9:13 pm
Location: France
Contact:

Post by Ralendil » Mon Jan 20, 2003 6:50 pm

Simple and effective

nice...

DanielT
Former Team Member
Posts: 3324
Joined: Tue Aug 27, 2002 10:55 am
Contact:

Post by DanielT » Mon Jan 20, 2003 7:29 pm

Ralendil wrote: Simple and effective

nice...


Thanks,

I just wanted to get that version out cause techie micheal needed it,

next version will have some admin stuff, also will allow users to see your favorites, and a quick bit of code to put the topics on autowatch when added to the favorites list, ph and the template a bit updated, tho i might need some help with that

Thanks again!

AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

Post by AbelaJohnB » Mon Jan 20, 2003 7:56 pm

I only really see one (1) problem with the install file....

Code: Select all

#
#-----[ COPY ]------------------------------------------
#
favorites.php  TO  favorites.php
fav_body.tpl   TO  templates/subSilver/fav_body.tpl
Needs to be:

Code: Select all

#
#-----[ COPY ]------------------------------------------
#
copy favorites.php  TO  favorites.php
copy fav_body.tpl   TO  templates/subSilver/fav_body.tpl
Per the MOD-Template standards. See:
http://www.phpbb.com/phpBB/viewtopic.php?t=11548
for instructions :mrgreen:


Thanks and nice job. I'll give it a try, once it get's developed some more :D

DanielT
Former Team Member
Posts: 3324
Joined: Tue Aug 27, 2002 10:55 am
Contact:

Post by DanielT » Mon Jan 20, 2003 8:06 pm

ahh i knew i was going to mess it up!!

thanks john!


will sort it now

PhilippT
Registered User
Posts: 419
Joined: Mon May 06, 2002 5:59 pm

Post by PhilippT » Mon Jan 20, 2003 8:07 pm

DanielT wrote: next version will have some admin stuff, also will allow users to see your favorites, and a quick bit of code to put the topics on autowatch when added to the favorites list, ph and the template a bit updated, tho i might need some help with that

Great i think i updated my forum to 2.0.4 in a few days fter that i trey this great thing to ;-) keep on..

User avatar
lar
Registered User
Posts: 248
Joined: Sat Oct 26, 2002 9:07 pm
Location: Next to heaven
Contact:

Post by lar » Mon Jan 20, 2003 8:07 pm

i tried this mod! It works great! :D
My signature is violating phpbb rules........
Warning Level :: 90%

AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

Post by AbelaJohnB » Mon Jan 20, 2003 9:57 pm

DanielT wrote: ahh i knew i was going to mess it up!!

thanks john!


will sort it now



hahah. Yeah, you bet :mrgreen:


It's what I'm here for ;)

User avatar
fvilla18
Registered User
Posts: 42
Joined: Sat Jan 18, 2003 5:08 am
Contact:

Post by fvilla18 » Tue Jan 21, 2003 2:54 am

is this mod working for 2.0.4? cus if it is, that would be awesome!
www.baseballstation.com <--all baseball, all the time

DanielT
Former Team Member
Posts: 3324
Joined: Tue Aug 27, 2002 10:55 am
Contact:

Post by DanielT » Tue Jan 21, 2003 7:30 am

fvilla18 wrote: is this mod working for 2.0.4? cus if it is, that would be awesome!


Yes it was built on 2.0.4, so it will work fine :)

DanielT
Former Team Member
Posts: 3324
Joined: Tue Aug 27, 2002 10:55 am
Contact:

Post by DanielT » Tue Jan 21, 2003 7:37 am

AbelaJohnB wrote: hahah. Yeah, you bet :mrgreen:

It's what I'm here for ;)


oh yea.. you didnt spot the 'FIND' where there is meant to be 'IN-LINE FIND' :P

and it hasnt gone unnoticed that you sig is breaking the sig 'n av rules :mrgreen:


:wink:

AbelaJohnB
Former Team Member
Posts: 5674
Joined: Fri Jul 06, 2001 11:56 pm

Post by AbelaJohnB » Tue Jan 21, 2003 4:16 pm

DanielT wrote:
AbelaJohnB wrote: hahah. Yeah, you bet :mrgreen:

It's what I'm here for ;)


oh yea.. you didnt spot the 'FIND' where there is meant to be 'IN-LINE FIND' :P

and it hasnt gone unnoticed that you sig is breaking the sig 'n av rules :mrgreen:


:wink:


Well, I didn't look THAT close :P <grin>

And, as for the sig thingie... all I can say is: D'Oh! :?

bonobo
Registered User
Posts: 39
Joined: Fri Jun 07, 2002 12:35 am

Post by bonobo » Tue Jan 21, 2003 11:01 pm

Tnx a lot..:)
www.tempzone.nl (Dutch forum)

DanielT
Former Team Member
Posts: 3324
Joined: Tue Aug 27, 2002 10:55 am
Contact:

Post by DanielT » Wed Jan 22, 2003 8:15 am

bonobo wrote: Tnx a lot..:)


Your Welcome :)

Locked

Return to “[2.0.x] MODs in Development”