|
#1
|
|||
|
|||
search cloud
Hi m8teys me again lol, Wondering if someone can help me fixed the search cloud in one of my themes, I narrowed it down to this <img src="/_image/go.png" alt="" title="" border="0" class="inlineimg" />searchcloud</a></li> Seems to be missing the < li class settings for it to function right? I'm new to this and been searching the forums but may have missed it so sorry if I did. Thanks everyone here.
|
#2
|
||||
|
||||
Quote:
<img src="/_image/go.png" alt="" title="" border="0" class="inlineimg" />searchcloud</a></li> </a> and </li> ??????? I'm not sure on what the working line looks like but yours is incomplete. can you give me the page or paragraph and tell me what you want it to look like.. Please give me the unedited one.
__________________
Please Support Majority Report You can contact me on Skype live:phesadent.elect but please let me know first. If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week. Due to free time I'm able to help interested member's with their tracker. Please Note! Depending on your requests I will charge you for my assistance for Tracker installs and mods. All my mods are custom and prices will very depending on the request. I'm able to install any tracker and mods including themes. Please PM me |
#3
|
|||
|
|||
Thanks m8 here is my site link if you want to look bud http://www.file-zone.tk/
Bump: this is my ts_tag code where the search cloud stuff is, if anyone sees the problem and can help ty m8teys as I'm so lost lol function select_random_color () { return sprintf ('#%02X%02X%02X', mt_rand (0, 255), mt_rand (0, 255), mt_rand (0, 255)); } function select_random_font_size () { global $__min; global $__max; return rand ($__min, $__max); } function generate_tags ($tags = array ()) { global $BASEURL; $__tags = array (); $__count = 0; do { $__tags[] = ' <a href="' . $BASEURL . '/browse.php?do=search&search_type=t_both&ca tegory=0&keywords=' . urlencode ($tags[$__count]) . '&tags=true"><font style="color: ' . select_random_color () . '; font-size: ' . select_random_font_size () . 'px; font-family: arial;">' . $tags[$__count] . '</font></a> '; ++$__count; }while (!($__count < count ($tags))); return implode (' ', $__tags); } require_once 'global.php'; gzip (); dbconn (); define ('TT_VERSION', '1.1.1 '); if (!defined ('IN_SCRIPT_TSSEv56')) { exit ('<font face=\'verdana\' size=\'2\' color=\'darkred\'><b>Error!</b> Direct initialization of this file is not allowed.</font>'); } include_once INC_PATH . '/functions_security.php'; $show_tags = ''; $array_tags = array (); $query = sql_query ('SELECT name, descr FROM torrents WHERE visible = \'yes\' ORDER BY RAND() LIMIT 10'); if (0 < mysql_num_rows ($query)) { require TSDIR . '/admin/include/global_config.php'; if (((!$__min OR !$__max) OR !$sc_displaycharminimum)) { $__min = 10; $__max = 30; $sc_displaycharminimum = 2; } while ($qtags = mysql_fetch_assoc ($query)) { $qtags['name'] = preg_replace ('#[^a-z|A-Z]#', ' ', $qtags['name']); $__temp = explode (' ', $qtags['name']); foreach ($__temp as $__T) { if ($sc_displaycharminimum < strlen ($__T)) { $array_tags[] = $__T; continue; } } $qtags['descr'] = preg_replace ('#[^a-z|A-Z]#', ' ', $qtags['descr']); $__temp2 = explode (' ', $qtags['descr']); foreach ($__temp2 as $__T2) { if ($sc_displaycharminimum < strlen ($__T2)) { $array_tags[] = $__T2; continue; } } } if (0 < count ($array_tags)) { $show_tags = generate_tags ($array_tags); } else { $show_tags = $lang->global['nothingfound']; } } else { $show_tags = $lang->global['nothingfound']; } stdhead ($SITENAME . ' - Search Cloud'); echo ' <table align="center" border="0" cellpadding="5" cellspacing="0" width="100%" style="table-layout:fixed;"> <tbody> <tr> <td class="thead" align="center">' . $SITENAME . ' - Search Cloud</td> </tr> <tr> <td style="line-height: 25px;"> <div align="justify"> ' . $show_tags . ' </div> </td> </tr> </tbody> </table> '; stdfoot (); exit (); ?> |
Tags |
cloud , search |
|
|