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

lucas-ruroken

Please, don't make a reply in both forums, i response in the spanish section.

Thanks
Adk Portal 3.1 is coming....

Design your universe!

MaXiForum.cz

Quote from: lucas-ruroken on July 10, 2011, 01:30:37 PM
The changes were in the Adk portal files..... It were many changes ;)

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

^HeRaCLeS^

^HeRaCLeS^
*¤×• Ni te molestes en enviarme un Mp porque el soporte lo doy solo por el foro •×¤*


SMFPersonal

MaXiForum.cz


rishab555555

I can not find out how to add images to carousel , please help me :(



here is the code please tell me :
Quotefunction 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>';

rishab555555

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 :)

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

Account Abandoned

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:

QuoteTable 'anotheradminforum.smf_adk_settings' doesn't exist

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

QuoteAdk portal wasn't able to conect to smf

Any ideas?

rishab555555

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.

Account Abandoned

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:

QuoteAdk portal wasn't able to conect to smf

rishab555555

Quote from: Shawn Gossman on July 21, 2011, 10:56:47 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:

QuoteAdk 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 !!!!!


Account Abandoned

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?

rishab555555

Quote from: Shawn Gossman on July 21, 2011, 12:06:27 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

Account Abandoned

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 :)

rishab555555


Account Abandoned

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

rishab555555

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

Account Abandoned

#557
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! :)

rishab555555

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

Account Abandoned

No problem and thanks again for the help :)

Advertisement: