Search results

  1. CrazyCoder

    Creating a very simple plugin - Part 2

    Oops admin needs to logout, sometimes, hihihiiii so added this also to skinchanger : if($FORM['a'] == 'admin' && $FORM['b'] == 'logout') setcookie("guest_skin", 'parabola', time()+360000); lol :)
  2. CrazyCoder

    Creating a very simple plugin - Part 2

    arfff lol yesss i should thought about this way, hihiiiiiiii :) thanks basti ;) but as it is a test site, AND more than this, i already have converted all the DB into utf-8, i'll keep with this new db, and add some sites using the site form, just for tests. wooo i found another important...
  3. CrazyCoder

    Creating a very simple plugin - Part 2

    as i converted all on utf-8, but i dont think utf_8 could be the reason, of any disfuntions of the original script. all tables are on utf-8, all files + including the utf-8 header needed, + the set names to utf-8 on db connection. of course all charset to utf-8 on any file ....
  4. CrazyCoder

    Creating a very simple plugin - Part 2

    yep i removed it on a try, but it was going to nothing, so i reput the original request. it is possible i made a mistake on a script part, so, i restarted on a fresh install, anyway i had to, because about what you said for updates, its much much better to plugin all my new codes. so right now i...
  5. CrazyCoder

    Creating a very simple plugin - Part 2

    well now, time to give a knock out to my flash tagcloud !!!!!!!! hihihiiiiiiiii another nightmare ....
  6. CrazyCoder

    Creating a very simple plugin - Part 2

    still i want to show up BOTH active and inactive sites on rankings, because when i have 100 sites, 30 are active, 70 are inactive, on the rankings page, the pagination shows up to me 6 pages to browse into !!!! there is something wrong in the script OR in my mind, hihihiiiii the script is...
  7. CrazyCoder

    Creating a very simple plugin - Part 2

    so finally : REMEMBER i use cookies !!!! yeaahhhh to run : my SelectLang + my SkinChanger ! right. So, i came back again on my first try. 1) added my last5_on_index.php page to /sources/ 2) declare the page in index : 'last5_on_index' => 1, 3) totally transform my...
  8. CrazyCoder

    Creating a very simple plugin - Part 2

    i did it !!!!!!!!!!!! hold on i'll post my final code
  9. CrazyCoder

    Creating a very simple plugin - Part 2

    arfff FIRST thanks again for your attention :)))) so i added this new hook, but its not even reading my plugin file, look i also added another hook of my own: eval (PluginManager::getPluginManager ()->pluginHooks ('include_source')); eval (PluginManager::getPluginManager ()->pluginHooks...
  10. CrazyCoder

    Creating a very simple plugin - Part 2

    arfff seems i dont understand something, so i give you this part i've done A) if directly modify index + sources/skin its running fine B) if i try to create a plugin for this, i just fail and fail, boooooooo ============================= haaaa ok :))) welll, so here after what i did...
  11. CrazyCoder

    Creating a very simple plugin - Part 2

    you see if i just place my {$alamandra_customs_fields} on a wrapper, if i just update it, plugin after plugin, its ok, but if i want to code a plugin using your way , i just fail ..... booooooooo its a pity ....
  12. CrazyCoder

    Creating a very simple plugin - Part 2

    arffff definitly, am a zero using the plugin manager, arrgghhhh IF i just use my own $TMPL vars, its ok BUT if i try to build my plugin the way Mark and basti do, tchiuuuuuuuuu nothing happen, grrrrrr may you have a look at this new plugin version of my skin changer ? please :))))) so you...
  13. CrazyCoder

    Creating a very simple plugin - Part 2

    3) still about my custom page, decide to show last5 members on index INSTEAD of rankings, i had to modify the /sources/skin.php about the pagination : if ($TMPL['header'] == "Last5") { $TMPL['multiple_pages_links'] = ''; $TMPL['multiple_pages_p'] = ''; $TMPL['multiple_pages_n'] =...
  14. CrazyCoder

    Creating a very simple plugin - Part 2

    hi today :)))) 1) so i just wanted to show you something i've done on index. the goal is to decide wich page to show when user is on ROOT, and/or there are no form vars. // Require the appropriate file if (isset($FORM['a']) && isset($action[$FORM['a']])) { $page_name = $FORM['a']...
  15. CrazyCoder

    Creating a very simple plugin - Part 2

    hi dudes :) as i cannot post in the plugins section,lol, i add this here : about the disqu plugin, i followed your recommendation, Mark, and i change this in disqus.html : var disqus_identifier = '{$disqus_user}-{$username}'; should be updated in 0.7, right ? another point, could it be...
  16. CrazyCoder

    Creating a very simple plugin - Part 2

    yes yes yes, i succeded to plug 3 others big parts of my new codes, heheeeeee great great : 1) a big block showing categories on index, as a frame, with images, styling, ... 2) almost complete code part listing 5last members on index, totally own customized, lol, INSTEAD of showing...
  17. CrazyCoder

    Creating a very simple plugin

    Oops , in fact the require_once of the plugin language does crash the plugin, so i directly added the extra languages var, to each /languages/ folder concerned file so REMOVED from global_start.php those 2 lines : require_once("{$CONF['path']}/plugins/SelectLang/languages/english.php")...
  18. CrazyCoder

    Creating a very simple plugin

    arfff i should order the languages available list, order from A to Z, hihihiiiiiiii just a code line to add ... but lets wait after our big ones boss coders, to answer to this post, And comment this very very very ....... very very tiny code , :))))
  19. CrazyCoder

    Creating a very simple plugin

    ok lets go, lets start by this very simple plugin ... very simple ??? hahaaaaa not really when i was doin it, lol to create a simple languages selector : ========================= 1) original code part of the index.php : // The language file...
  20. CrazyCoder

    Woooo Congratulations guys !

    woo yeah its so right, i can create a new /sources/ files, to be required at the very beginning of the index, so this file will do the job i need, huuuummm arrffff am stupid, i did not considered this option :) thanks ! woo its ok for the key, i can code with fake images, as its just the test...
Top