Advertisement:

Author Topic: Adk Portal 2.1.1 (New version for SMF 2.0.x)  (Read 210681 times)

Offline lucas-ruroken

  • SMF Hero
  • ******
  • Posts: 4,884
  • Gender: Male
  • Adk Developer
    • lucas.ruroken on Facebook
    • SMF Personal
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #540 on: July 11, 2011, 08:44:54 AM »
Please, don't make a reply in both forums, i response in the spanish section.

Thanks

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #541 on: July 11, 2011, 10:26:30 AM »
The changes were in the Adk portal files..... It were many changes ;)

So... is possible copy only files.
Or not? :D
Thank you ;)

Offline ^HeRaCLeS^

  • SMF Hero
  • ******
  • Posts: 3,599
  • ♥ Valen ♥
    • adkteam on Facebook
    • @adk_team on Twitter
    • SmfPersonal
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #542 on: July 11, 2011, 11:18:37 AM »
No.
Upgrade
^HeRaCLeS^
*¤×• Ni te molestes en enviarme un Mp porque el soporte lo doy solo por el foro •×¤*

SMFPersonal
Adk Team
Adk Host
MigsaBrakes

Offline MaXiForum.cz

  • Senior Translator
  • Full Member
  • *
  • Posts: 690
  • Gender: Male
  • Czech SMF support
    • MaxiFórum
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #543 on: July 11, 2011, 01:50:09 PM »
OK :)

Offline rishab555555

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
  • SMF ROCKS !
    • Hey RTU
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #544 on: July 16, 2011, 10:16:23 AM »
I can not find out how to add images to carousel , please help me :(



here is the code please tell me :
Quote
function adk_carrousel()
{
   global $settings, $scripturl, $context, $adkportal, $boardurl, $txt, $smcFunc;
   
   $t = $smcFunc['db_query']('','
      SELECT image, url
      FROM {db_prefix}adk_advanced_images
      ORDER BY id DESC
      LIMIT {int:limit}',
      array(
         'limit' => $adkportal['adv_top_image_limit'],
      )
   );
   
   $adkportal['load_images_'] = array();
   
   while($row = $smcFunc['db_fetch_assoc']($t)){
      $adkportal['load_images_'][] = array(
         'url' => '<a href="'.$row['url'].'"><img src="'.$row['image'].'" alt="" /></a>&nbsp;',
      );
   }
   
   $smcFunc['db_free_result']($t);
   
   if(empty($adkportal['jquery_loaded']))
   echo'
   <script type="text/javascript" src="'.$boardurl.'/adkportal/js/jquery.js"></script>';
      
   $adkportal['jquery_loaded'] = true;
   
   echo'
      <script src="'.$boardurl.'/adkportal/js/carousel.js" type="text/javascript"></script>
      <script type="text/javascript">

      // Credits: Robert Penners easing equations (http://www.robertpenner.com/easing/).
      jQuery.easing[\'BounceEaseOut\'] = function(p, t, b, c, d) {
         if ((t/=d) < (1/2.75)) {
            return c*(7.5625*t*t) + b;
         } else if (t < (2/2.75)) {
            return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
         } else if (t < (2.5/2.75)) {
            return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
         } else {
            return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
         }
      };

      jQuery(document).ready(function() {
         jQuery(\'#mycarousel\').jcarousel({
            easing: \'BounceEaseOut\',
            animation: 1000
         });
      });
      
      </script>';
   

      
      echo'
   <div class="adk_height_1"></div>
   <div id="wrap">
      <ul id="mycarousel" class="jcarousel-skin-tango">
         ';
      
      foreach($adkportal['load_images_'] AS $t)
         echo '
         <li>'.$t['url'].'</li>';
         
      
      echo'
      </ul>
   </div>
   <div class="adk_height_1"></div>';

Offline rishab555555

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
  • SMF ROCKS !
    • Hey RTU
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #545 on: July 16, 2011, 10:45:28 AM »
Oh just got the solution :

This is for all who are looking for the same :

Go to AdkPortal>Modules>Advanced Images


Now upload image you want to be shown in carousel and you are done :)

Offline lucas-ruroken

  • SMF Hero
  • ******
  • Posts: 4,884
  • Gender: Male
  • Adk Developer
    • lucas.ruroken on Facebook
    • SMF Personal
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #546 on: July 16, 2011, 01:50:25 PM »
exactly man :D

Offline Account Abandoned

  • Full Member
  • ***
  • Posts: 512
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #547 on: July 20, 2011, 10:50:21 PM »
I think I screwed up. Please understand I have not used SMF in ages. I transferred all of the files and directories to the right paths via FTP. I did all the edits and then went to homepage of forum and got the error:

Quote
Table 'anotheradminforum.smf_adk_settings' doesn't exist

So I went to install directory, and clicked on db_install_adkportal.php and got this error:

Quote
Adk portal wasn't able to conect to smf

Any ideas?

Offline rishab555555

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
  • SMF ROCKS !
    • Hey RTU
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #548 on: July 21, 2011, 02:59:42 AM »
I could not understand what files & directories are you talking about !
Please be more specific my friend.

Are you talking about new smf install ?

Or about ADK portal install ?

SMF is so easy to manage that FTP is used at a very few moments !

Please tell us SMF version & all thing.

Offline Account Abandoned

  • Full Member
  • ***
  • Posts: 512
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #549 on: July 21, 2011, 10:56:47 AM »
LOL, I am talking about the portal install which is why I posted it in your thread and not the main support forum for SMF  ;)

I am using SMF 2.0, just installed it recently

I went to manual instructions for the portal at http://custom.simplemachines.org/mods/index.php?mod=2255

Using FTP, I transferred the files and folders from the "Adk_Portal_2.0.zip" download to the proper locations on my web server. I did the edits. I run the "install/db_install_adkportal.php" file and got the error:

Quote
Adk portal wasn't able to conect to smf

Offline rishab555555

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
  • SMF ROCKS !
    • Hey RTU
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #550 on: July 21, 2011, 11:57:17 AM »
Using FTP, I transferred the files and folders from the "Adk_Portal_2.0.zip" download to the proper locations on my web server. I did the edits. I run the "install/db_install_adkportal.php" file and got the error:

Quote
Adk portal wasn't able to conect to smf

Using FTP ????

Why the hell did you do that  ?


SMF has given you package manager for that !!!!!


Offline Account Abandoned

  • Full Member
  • ***
  • Posts: 512
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #551 on: July 21, 2011, 12:06:27 PM »
I see.

I just recently started using SMF again. I been using MyBB, vBulletin and IP.Board so I am not used to the package manager feature. That was my mistake. Should I restore all my backups and do it again using the package manager?

If so, a FTP fail-safe would be something handy to have in the future for issues like this haha. FTPing the files took maybe 30 seconds, it wasn't that difficult :p

So I take it the FTP process is why I can not install the portal modification? I shouldn't have used it?

Offline rishab555555

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
  • SMF ROCKS !
    • Hey RTU
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #552 on: July 21, 2011, 12:40:56 PM »
If so, a FTP fail-safe would be something handy to have in the future for issues like this haha. FTPing the files took maybe 30 seconds, it wasn't that difficult :p

Dude if FTP took 30 seconds , then package manager could do the work in 20 seconds.

Okay fine just do the steps below and i hope that will work out :

1.Delete all the files and directories you created to install adk portal via FTP
2.If you have not made much changes and have a backup of forum just before the installation of ADK Portal , choose the files you have changed to install it :
According to me these are the files :
(1) ./Sources/Subs-Menu.php
>(2) ./Sources/Subs.php
>(3)./Sources/ManagePermissions.php
>(4)./SSI.php
>(5)./index.php
>(6)./Sources/QueryString.php
>(7)./Sources/Admin.php
>(8)./Sources/Subs-BoardIndex.php
>(9)./Sources/Subs-Boards.php
>(10)./Sources/BoardIndex.php
>(11)./Sources/Recent.php
>(12)./Sources/Load.php
>(13)./Themes/default/index.template.php
>(14)./Themes/default/Display.template.php
>(15)../Sources/Display.php
>(16)./Themes/default/css/ie6.css


You must have did these file operations : So please revert all these changes
Move the included directory "adkportal" to "the root directory".
Move the included directory "Adk-downloads" to "the root directory".
Move the included directory "Sources" to "the root directory".
Move the included directory "Themes" to "the root directory".
Move the included file "files/adk-license.txt" to "the root directory".


Please remember , i am saying that you must have done these changes so i am just giving the list of operations as mentioned on adk portal mode change them back to original .

>Then go to package manager and > download packet and browse the package and Upload and install it.

It must work now and if not then remove all the mods and apply major upgrade and then install all modes again :)





and ya , a special salute to you for being able to do so much changes manually..I haven't performed this much coding changes in the last three months :P

Offline Account Abandoned

  • Full Member
  • ***
  • Posts: 512
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #553 on: July 21, 2011, 01:22:06 PM »
LOL yeah, coding edits do not bother me until I have to redo them after updating the software... Seems like all the modifications I want to install have quite a bit of code edits. I am going to be launching about 3 forums to start so its going to be a long month for ole Shawn LOL.

I will try your solution and report if it worked or not, thank you for assisting me :)

Offline rishab555555

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
  • SMF ROCKS !
    • Hey RTU
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #554 on: July 21, 2011, 01:24:39 PM »
:P ya sure , and welcome :)

Offline Account Abandoned

  • Full Member
  • ***
  • Posts: 512
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #555 on: July 21, 2011, 01:39:07 PM »
Okay I did as you instructed and it has worked out. Now the manual edits? Do I have to do them? Or am I thinking wrong? Please remember, I haven't used SMF since before 2.0 days

Offline rishab555555

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
  • SMF ROCKS !
    • Hey RTU
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #556 on: July 21, 2011, 01:44:45 PM »
Good ! No i yo do not need to do the manual edits now as ,adk portal do the same.

While installation of the package adk portal mode have had tries to change and after finding it already correct it must have overwritten it .


So , just have fun and just give me the link to your forum so that i can check if adk portal has been installed rightly..


I am also using the same , you can telly the portal at www.heyrtu.com

Offline Account Abandoned

  • Full Member
  • ***
  • Posts: 512
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #557 on: July 21, 2011, 01:58:42 PM »
My forum is at www.anotheradminforum.com

One quick question, On the portal homepage, I posted an article about forum security as you can see. How can I make it to where it shows a summary of that article (it is News block) and a button to "read more" if possible? Thank you again for the help! :)
« Last Edit: July 21, 2011, 02:10:13 PM by Shawn Gossman »

Offline rishab555555

  • Jr. Member
  • **
  • Posts: 171
  • Gender: Male
  • SMF ROCKS !
    • Hey RTU
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #558 on: July 21, 2011, 02:06:23 PM »
Olay for that you have to use auto news block !


For that :
Go to : Administration center>Adk Portal>Blocks

In blocks Menu you will find
     Blocks
     Settings Default Blocks
     Add block
     Add news
     Upload block
     Shoutbox

Go to Setting default blocks !

and in that Auto News Block!

Just write down limit of characters ,Limit of topics to showing in the block,Boards ,Add facebook and twitter bookmarks in this block and your work is done:)

And thanks for this question , i have found one more thing about the Autonews block :P

Offline Account Abandoned

  • Full Member
  • ***
  • Posts: 512
Re: Adk Portal 2.0 Elysium Edition (SMF 2.0)
« Reply #559 on: July 21, 2011, 02:08:40 PM »
No problem and thanks again for the help :)