topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 9:39 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Very cool new SMF (simplemachines.org forum software) mod: Tags  (Read 8351 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Very cool looking mod that I will surely add to the dc forum once it becomes stable.

A tagging system for SMF.
Features:
Tag Cloud
Tagging of Topics
Thread owner can add and remove tags to the topic.
Tag Admins can tag topics and remove tags.
Clicking a tag returns a list of tagged topics that have that tag.
Recent tagged topics on tag cloud page.


jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #1 on: December 22, 2006, 12:28 PM »
NEAT!!
If it integrates with the search it will be a HUGE improvement. I bet it'll make search work a lot easier. Good thing you're always on the lookout for new improvements to DC, mouser!  :Thmbsup:

JavaJones

  • Review 2.0 Designer
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 2,739
    • View Profile
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #2 on: December 22, 2006, 01:41 PM »
Oooo! Sexay. :D

- Oshyan

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #3 on: December 22, 2006, 02:42 PM »
Hey mouser,
I have that RSS Injector code working in one of my forums - from a post at the SMF forum but I need to make it better.

I will be adding a method to pull from a RSSFeed database table and a method that makes  sure that duplicate posts aren't made.

I will let you know when its done if you're interested in putting up a news forums that pulls from different tech news feeds.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #4 on: December 22, 2006, 02:52 PM »
great  :up:

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #5 on: December 23, 2006, 12:16 AM »
Its all ready if you want it.

Right now it:
- Uses SimplePie as the feed parser
- Pulls requested feeds from a DB table (feed url, board id, member id)
- Uses some very basic configuration settings in the php file to control the look of the post

Being used on this forum:
http://www.scarymind...index.php?board=26.0

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #6 on: December 23, 2006, 01:16 AM »
Looking fantastic veign!

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #7 on: December 23, 2006, 12:02 PM »
I posted thde code to:
http://www.veign.com...p?type=web&id=47

If you get a chance to test it please let me know if there are any improvements that should be made. (one thing I will be adding is a method that updates a date/time stamp of when a feed was last pulled).

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #8 on: December 24, 2006, 02:05 AM »
That's great stuff veign!  I can definitely see using that on dc, just have to think about where to put it and how, and give you a few weeks to make sure it doesnt destroy your server  ;)

One suggestion:
most smf mods that have php scripts that add to a database table dont require that they be edited to provide password, but instead just include settings.php and make the call to an smf database access function, which i think makes sense.

for example:

Code: PHP [Select]
  1. include_once ("../Settings.php");
  2. $dbcon = mysql_connect($db_server, $db_user, $db_passwd);
  3. $result = mysql_query("CREATE TABLE `{$db_prefix}dc_blogentries` (itemid MEDIUMINT NOT NULL AUTO_INCREMENT,PRIMARY KEY(itemid));");

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: Very cool new SMF (simplemachines.org forum software) mod: Tags
« Reply #9 on: December 24, 2006, 09:21 AM »
I have already changed the code to have the DB settings removed.  Its a bit cleaner now. I still have to add the time/date stamp function at the end.

Any other suggestions are greatly appreciated.

PS: Great PHP highlighter script.  Will be looking at using that somewhere.
« Last Edit: December 24, 2006, 09:23 AM by Veign »