TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 582
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 240
  • Total: 240

Starting a Link Manager, or ...

Started by Tucker, April 08, 2006, 01:04:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tucker

How to provide and integrate a new TP module!

MetalHellsangel an me did a little head spinning for an additional link manager module. And ok, i started to code one.

Of course it's not ready for now. But i post here for two reasons:


  • We need some ideas, help and testing!
  • I figured out, how to integrate a new module in TP/SMF

Don't want to repost the whole modifications, just look at my testboard at www.lucky-family.net.

Some remarks:
The modifications are only based on TP 0.86, doesn't matter which SMF-Version you use.
Of course none of the links is functionally by now!! You won't see much of the link-manager. Just the module-link in the user-box. Registered users will see additional links "Add Link" and "Link Manager", but not funtional, too.

As i said, i just coded the integration (and started with the rest) and provided a small HowTo on this page.

Ok guys, what do you think?

And @Bloc:

In the other thread about the missing index $txt['downloads']you mention this slightly modification (and possible bug) about $current_action in index.template.php. What is it for? i didn't get the sense. And left it out for the "lm"-$GET-Var in my module.

Tucker

One reposting from my testboard.

Link Manager - The very beginning

These are my goals:


  • Integration with Bloc's module-system
  • Reuse as much as possible and as less as needed from the download-manager-code
  • First features (nearly the same as in dl-manager):

    • Different permissions to add and to manage links
    • Table fields: Title, URL, Description, Category, Icon, Additional picture
  • In the future: tag system

Feel free to add comments...

Tucker

MetalHellsangel

great Idea starting a thread tucker, alway use feedback. :D

MetalHellsangel

I can't devolop the xml file until we know what the change's will be for sure but I belive we can drop the screen shot's for links table in the db.

Tucker

Oh, i see you were thinking about the same (additional picture = screenshot). I will see, how much i can use from the dl-manager code. But for sure, this is not that important!

MetalHellsangel


IchBin

hmm... Sounds like you have a plan. I don't have any suggestions right now honestly... I haven't given it much thought. Just wanted to let you know I saw the thread. :) I'll post back after I think more about it.

An_Old_Girl

Due to a lack of knowledge of coding, I can't offer any help, but I wanted to tell you that I have been dreaming of a link manager for SMF/TP similar to the one in PostNuke - simple, with no thumbnails, link exchange or other bells & whistles.

Thanks for your efforts!  ;D

TwinsX2Dad

Maybe someone might take the time to integrate something like this?

bloc

A link manager is def. in the plans for TP - because the concept is , as Tucker describes, very similar - but simpler - to the download section. In other words, it should perform even faster.

So not to discourage anyone..but it will be included, just not sure exactly when. There might be several things happening once the basic system is overhauled.

This website is proudly hosted on Crocweb Cloud Website Hosting.