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: 317
  • Total: 317

[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.

darakhshan

thanks what file should I overwrite? you mean I download it and replace every thing and then upload it into my server?
what if some day I want to unstall it throgh package manager? will uninstalling go well?
what file should I overwrite?

thanks

Thurnok

Block code snippets do not go in any file.  You copy/paste them into the textarea box presented by the block manager for the block you placed the code in.

In other words, go to your admin control panel, choose Manage Blocks, then find the block you placed the linkit code into.  Edit that block replacing all that is there with the code that is in the first post of this topic.

Gargoyle

Thurnok.... This code rocks!!

Thanks for sharing it!!


Thurnok

Added ability to use TP's "smalltext" or "normaltext" class for link items (in addition to the already existing custom column style variable).  This way, you can either turn on smalltext, or not by setting the $li_useclass variable.

New code in first post.

RoarinRow

Quote from: Thurnok on December 28, 2006, 12:18:02 AM
Added ability to use TP's "smalltext" or "normaltext" class for link items (in addition to the already existing custom column style variable).  This way, you can either turn on smalltext, or not by setting the $li_useclass variable.

New code in first post.

Great, thanks Thurnok!   :up:

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

brianjw

When adding links:
-Is there a way I can add a little image instead of text for only some of them.

RoarinRow

Hey that last post was my 1k post   :smiley6600:  :laugh:

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

Thurnok

@brianjw - Not currently.  A future version might add that, but it was beyond the scope and intent for this block code.

@RoarinRow - congratz!  :)

RoarinRow

I love all these snippets, now if I can get my users to use them, that would be great!   :2funny:                            j/k

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

This website is proudly hosted on Crocweb Cloud Website Hosting.