News:

Join the Facebook Fan Page.

Main Menu

Adk Portal

Started by lucas-ruroken, March 06, 2010, 06:19:55 AM

Previous topic - Next topic

!RFAN

thanx  lucas-ruroken ... but i have changed my mind bcoz i wanna show facebook type wall on home page using Adk Portal... thanx for ur support.

btw... is there any problem with Adk Portal while opening on cell phone... i asked many people to open my site on cell phone...they reported either the cell restarts or explorer freezes... ??

lucas-ruroken

What is your forum url?

Are you installing adk portal?
Adk Portal 3.1 is coming....

Design your universe!

gokhansancar

Hi Lucas, i have a little problem with my Adk_v2.0rc3-2_Smf1.1.x

after i create a news, i cant edit it, it is giving me this error, i can delete the news, create a new one but i cant edit it.

Do you have any idea what is that problem , Thanks

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '5'' at line 1
File: /hermes/bosweb/web000/b6/ipg.gokhansancarcom/Sources/Adk-Admin.php
Line: 690

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!


lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!


lucas-ruroken

You're welcome ;)


ADK 2.0 RC5 is coming soon :P
Adk Portal 3.1 is coming....

Design your universe!

!RFAN

i want e-arcade block codes for adk portal :(

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

!RFAN

^^ okay

hey, i want immediate help :(

i tried to uninstall the ADk portal...i received errors while doing it.. i uninstalled it and then check it manually for errors... i found no code error.. i mean each file to be modified was perfectly modified...

but even after that i was receiving  error in Load.php
i re-checked it but there was  no problem..

then i decided to remove the forum and install it again and apply my old database on it...
i did it... but now m rcving this error:

Fatal error: Call to undefined function loadColpaseAdkportal() in /home/amigo/public_html/Sources/Load.php(2083) : eval()'d code on line 79

please help me :(
i think there is some problem in db now


Rain Forest

Quote from: lucas-ruroken on August 25, 2010, 07:11:03 PM
I tested this block...

Now, It work:


<?php
global $context$scripturl$txt$smcFunc$boardurl$adkportal$modSettings;
   
   if(empty(
$limit))
      
$limit $adkportal['top_poster'];
      
   
$sql $smcFunc['db_query']('','
      SELECT mem.id_member, mem.real_name, mem.avatar, mem.karma_good AS posts,
      mg.online_color,
         IFNULL(a.id_attach, 0) AS id_attach, a.filename, a.attachment_type
      FROM {db_prefix}members AS mem
      LEFT JOIN {db_prefix}attachments AS a ON (a.id_member = mem.id_member)
      LEFT JOIN {db_prefix}membergroups AS mg ON (mg.id_group = IF(mem.id_group = 0, mem.id_post_group, mem.id_group))
      ORDER BY mem.karma_good DESC
      LIMIT 5'
   
);
   
   echo
'<table style="width: 100%;">';
   
   
$context['the_array'] = array();
   
   
//Height and width avatar
   
$width 50;
   
$height 50;
   
   while(
$row $smcFunc['db_fetch_assoc']($sql))
      
$context['the_array'][] = array(
         
'id' => $row['id_member'],
         
'name' => $row['real_name'],
         
'avatar' => $row['avatar'] == '' ? ($row['id_attach'] > '<img width="'.$width.'" height="'.$height.'" src="' . (empty($row['attachment_type']) ? $scripturl '?action=dlattach;attach=' $row['id_attach'] . ';type=avatar' $modSettings['custom_avatar_url'] . '/' $row['filename']) . '" alt="" class="avatar" border="0" />' '') : (stristr($row['avatar'], 'http://') ? '<img width="'.$width.'" height="'.$height.'"src="' $row['avatar'] . '" alt="" class="avatar" border="0" />' '<img width="'.$width.'" height="'.$height.'"src="' $modSettings['avatar_url'] . '/' $smcFunc['htmlspecialchars']($row['avatar']) . '" alt="" class="avatar" border="0" />'),
         
'color' => $row['online_color'],
         
'posts' => $row['posts'],
      );
   
   
   foreach(
$context['the_array'] AS $adkTopPoster)
   {
      
$id_member $adkTopPoster['id'];
      
      if(empty(
$adkTopPoster['avatar']))
         
$avatar '<img src="'.$boardurl.'/adkportal/images/noavatar.jpg" alt="" class="adk_avatar" />';
      else
         
$avatar $adkTopPoster['avatar'];
         
      
$color_online $adkTopPoster['color'];
      
      echo
'
         <tr>
            <td  width="21">
               '
,$avatar,'
            </td>
            <td valign="middle">
               <a href="'
.$scripturl.'?action=profile;u='.$id_member.'" title="'.$adkTopPoster['name'].'" style="color: '.$color_online.'; font-weight: bold;">
                  '
.substr($adkTopPoster['name'],0,13).'
               </a>
               <br />
               <span class="smalltext"><strong>Karma</strong>: '
.$adkTopPoster['posts'].'</span>
            </td>
         </tr>'
;
   }
      
   echo
'</table>';   
?>



Dear Lucas,

I wonder why the 'last' blog is not coming at the top... I have several people on my forums and the 'last blog' is not coming at the top... Check:  http://solar-xl.nl/forum/index.php

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

Rain Forest


lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

Rain Forest

Quote from: lucas-ruroken on September 15, 2010, 05:51:14 PM
delete all class="avatar"

Thanks again!

Hmm, I really have to ask you. The adk portal is the index. At the forum, all the avatars are maximum sized to 100 px. If an avatar is  80 x 120 it will be resize to 60 x 100. Not 80 x 80 or 100 x 100, but 60 x 100... resized. How can I make all the avatars at the ADK portal to this resized thing? :)

For example: http://solar-xl.nl/forum/index.php?topic=1085.0

lucas-ruroken

I don't view your forum.... Guests can't view it :P
Adk Portal 3.1 is coming....

Design your universe!

!RFAN

Quote from: !RFAN on September 15, 2010, 12:16:14 AM
^^ okay

hey, i want immediate help :(

i tried to uninstall the ADk portal...i received errors while doing it.. i uninstalled it and then check it manually for errors... i found no code error.. i mean each file to be modified was perfectly modified...

but even after that i was receiving  error in Load.php
i re-checked it but there was  no problem..

then i decided to remove the forum and install it again and apply my old database on it...
i did it... but now m rcving this error:

Fatal error: Call to undefined function loadColpaseAdkportal() in /home/amigo/public_html/Sources/Load.php(2083) : eval()'d code on line 79

please help me :(
i think there is some problem in db now

i waited for so long.... but u did not replied to this :(
plzz

Rain Forest


pjn

helloe, i install your mod and it's work very good & nice....

but!

i installed this mod:
http://custom.simplemachines.org/mods/index.php?mod=486

and now when i need to install i can't found this:
Quote
   <file name="$sourcedir/Subs-BoardIndex.php"> - תקלה
      <operation>
         <search position="replace"><![CDATA[
               'href' => $scripturl . '#c' . $row_board['id_cat'],
]]></search>
         <add><![CDATA[
               'href' => $scripturl . '?action=forum#c' . $row_board['id_cat'],
]]></add>
      </operation>
   </file>
   <file name="$sourcedir/BoardIndex.php">
      <operation>
         <search position="before"><![CDATA[
   $context['canonical_url'] = $scripturl;
]]></search>
         <add><![CDATA[
   global $adkportal;
   if($adkportal['adk_enable'] == 1)
      $context['linktree'][] = array(
         'url' => $scripturl . '?action=forum',
         'name' => $txt['foro']
      );
]]></add>
      </operation>
   </file>
   
   <file name="$sourcedir/Recent.php"> - תקלה - לשנות #C
      <operation> - נערך אע"פ שיש תקלה
         <search position="replace"><![CDATA[
            'url' => $scripturl . '#c' . (int) $_REQUEST['c'],
]]></search>
         <add><![CDATA[
            'url' => $scripturl . '?action=forum#c' . (int) $_REQUEST['c'],
]]></add>
      </operation>
      <operation> - לא נערך כלל
         <search position="replace"><![CDATA[
            'href' => $scripturl . '#c' . $row['id_cat'],
            'link' => '<a href="' . $scripturl . '#c' . $row['id_cat'] . '">' . $row['cname'] . '</a>'
]]></search>
         <add><![CDATA[
            'href' => $scripturl . '?action=forum#c' . $row['id_cat'],
            'link' => '<a href="' . $scripturl . '?action=forum#c' . $row['id_cat'] . '">' . $row['cname'] . '</a>'
]]></add>
      </operation>
   </file>
   
   <file name="$sourcedir/Load.php"> - תקלה - לשנות #C
      <operation>
         <search position="replace"><![CDATA[
            'url' => $scripturl . '#c' . $board_info['cat']['id'],
]]></search>
         <add><![CDATA[
            'url' => $scripturl . '?action=forum#c' . $board_info['cat']['id'],
]]></add>
      </operation>
   </file>




this is my web:
http://pjn-il.com

thanx!!!
Quick Portal - Free hosting & portal & forums system

Many designs + many extras + server = FREE!

Ask from us your free web now:
http://qp-free.com/index.php/board,2.0.html

Advertisement: