Follow Us:
Tricked Out Mods: Forums

Best Hosting
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

expand the TAG module
 
 
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> Tag Cloud addon
View previous topic :: View next topic  
Author Message
Kenny
Regular
Regular


Joined: Sep 05, 2009
Posts: 12


PostPosted: Sat Apr 16, 2011 10:39 am 
Post subject: expand the TAG module
Reply with quote

Any plans on to expand the TAG module to support weblinks encyclopedia etc ?
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 782


PostPosted: Sat Apr 16, 2011 2:11 pm 
Post subject:
Reply with quote

With the next release of RN 2.5, I will look at adding them to the new downloads module and possibly others. I am looking at adding a new tags module that searches the database tables for key words. If that is the case, it would replace the existing tags module.
_________________
Tricked Out News
  
Back to top
View user's profile Send private message Visit poster's website
Kenny
Regular
Regular


Joined: Sep 05, 2009
Posts: 12


PostPosted: Mon Apr 25, 2011 4:05 pm 
Post subject:
Reply with quote

Sounds great kepp up the good work
  
Back to top
View user's profile Send private message
lokasher
Newbie
Newbie


Joined: May 14, 2011
Posts: 2


PostPosted: Thu Feb 02, 2012 4:38 am 
Post subject:
Reply with quote

How can i add TAGs to download module
  
Back to top
View user's profile Send private message
bobby
Site Admin
Site Admin


Joined: Jan 20, 2009
Posts: 782


PostPosted: Thu Feb 02, 2012 7:31 am 
Post subject:
Reply with quote

I haven't had time to look at adding it to the downloads module. It will require a lot of code changes/additions. As soon as I finish up on a few modules I am working on right now, I will start to work on that.
_________________
Tricked Out News
  
Back to top
View user's profile Send private message Visit poster's website
bestbuildpc
I might as well work here
I might as well work here


Joined: Nov 16, 2009
Posts: 100


PostPosted: Tue Apr 17, 2012 7:07 am 
Post subject:
Reply with quote

Very Happy Long time ago I had the same idea to include tags to my download module. I took a look at the new download module from Ravennuke and here we go.

1.Open your FTP
2.Open folders modules/Downloads/public/
3.Open index.php

Search for

Code:
   pagenums($cid, $query, $orderbyURL, $op, $totalselected, $dl_config['perpage'], $max);

}
CloseTable();



Add these codes under CloseTable() Like this.

Code:


OpenTable();
      //tags cloud
      function otoTag($tag,$link,$en_kucuk=10,$en_buyuk=18) {
//$renk='#'.dechex(rand(1,16)).dechex(rand(16,3)).dechex(rand(3,16)).dechex(rand(1,1)).dechex(rand(3,1)).dechex(rand(1,2));
$renk='#'.dechex(rand(1,16)).dechex(rand(1,16)).dechex(rand(0,16)).dechex(rand(0,16)).dechex(rand(0,16)).dechex(rand(0,16));
$boy=rand($en_kucuk,$en_buyuk);
echo '<a href="'.$link.'"
style="font-size: ' . $boy . 'px;color:'.$renk.'"
tag="' . $tag . '">' . $tag . '</a> ';

}


$sorgu=$db->sql_query("SELECT lid,title FROM ".$prefix."_downloads ORDER BY rand() limit 50");
while ($sonuc=$db->sql_fetchrow($sorgu))
     {
echo otoTag($sonuc[title],'download-file-.html'.$sonuc[lid]);
}
//tags cloud
CloseTable();



It should look like this

Code:
   // END LISTING

   pagenums($cid, $query, $orderbyURL, $op, $totalselected, $dl_config['perpage'], $max);
}
CloseTable();
      OpenTable();
      //tags cloud
      function otoTag($tag,$link,$en_kucuk=10,$en_buyuk=18) {
//$renk='#'.dechex(rand(1,16)).dechex(rand(16,3)).dechex(rand(3,16)).dechex(rand(1,1)).dechex(rand(3,1)).dechex(rand(1,2));
$renk='#'.dechex(rand(1,16)).dechex(rand(1,16)).dechex(rand(0,16)).dechex(rand(0,16)).dechex(rand(0,16)).dechex(rand(0,16));
$boy=rand($en_kucuk,$en_buyuk);
echo '<a href="'.$link.'"
style="font-size: ' . $boy . 'px;color:'.$renk.'"
tag="' . $tag . '">' . $tag . '</a> ';

}


$sorgu=$db->sql_query("SELECT lid,title FROM ".$prefix."_downloads ORDER BY rand() limit 50");
while ($sonuc=$db->sql_fetchrow($sorgu))
     {
echo otoTag($sonuc[title],'download-file-.html'.$sonuc[lid]);
}
//tags cloud
CloseTable();


Let me know if you have any issue. Wink
  
Back to top
View user's profile Send private message Visit poster's website
lokasher
Newbie
Newbie


Joined: May 14, 2011
Posts: 2


PostPosted: Thu Jun 07, 2012 2:23 pm 
Post subject:
Reply with quote

replaced _downloads with _nsngd_downloads and its showing random tags.
  
Back to top
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic   print    Tricked Out News Forum Index -> Tag Cloud addon All times are GMT - 5 Hours
 
 Page 1 of 1
 
 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001-2008 phpBB Group
Forums ©