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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 318
  • Total: 318

[Block] Linkit - A member submittable links block

Started by Thurnok, August 02, 2006, 10:01:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thurnok

Update 1.3

  • added sorting - sort by chronological, alphabetic, or submitted by order and either ascending or descending

    Updated code in first post.

    $li_sort = x  ; x=0 - chronological || x=1 - alphabetical || x=2 - submitted by
    $li_sort_direction = x  ; x=0 - ascending || x=1 - descending

Maya

 :up: :up:

Now that is very cool...

Thanks Thurnok :)

Sledge

PERFECT!! Thank you Thurnok! It works magnificently.

darakhshan

Good Job!  thank you
I wish users could edit their own sent links

RoarinRow

very cool, thanks for the cool code.  I put mine in an article   :up:

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

Thurnok

Quote from: korea on December 10, 2006, 10:00:47 AM
Good Job!  thank you
I wish users could edit their own sent links
Right now you can give users the right to edit links, but they could then edit anyone's, not just their own.

Next release will have this option...

Thurnok

Update 1.4
  • added ability to allow users to edit and/or delete links they submitted
  • reverted name back to Linkit!  (since it is for any block, not just center)
$li_edit_own = x;  // 0 = No, 1 = Yes - user allowed to edit links they submitted
$li_del_own = x;  // 0 = No, 1 = Yes - user allowed to delete links they submitted

Updated code in first post

RoarinRow


SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

darakhshan

I have to uninstall and install again? can you tell me how to update please?

Lesmond

Just overwrite the code you have with code from Thurnok's first post

This website is proudly hosted on Crocweb Cloud Website Hosting.