Jump to content

Heineken

Clients
  • Posts

    154
  • Joined

  • Last visited

1 Follower

About Heineken

IPS Marketplace

  • Resources Contributor
    Total file submissions: 1

Recent Profile Visitors

2,820 profile views

Heineken's Achievements

  1. does this mean it ties the forum users into the mochi system for points, leaderboards etc?
  2. Heineken

    (DP34) iHost

    has anyone made a side_block to show latest uploaded image in sidebar? I would love this
  3. Here is code for hook which will import 20 recent topics, it uses IPB member settings so it respect all forum rules. Also you do not need to create any additional templates or create any skin template like mentioned previously in this thread. If you want to change the number of topics shown just edit the number hooks_recentTopics(20) <?xml version="1.0" encoding="utf-8"?> <hookexport> <hookdata> <config> <hook_name>Recent Forum Topics</hook_name> <hook_desc>Adds a list of recent threads topic view</hook_desc> <hook_author/> <hook_email/> <hook_website/> <hook_update_check/> <hook_requirements><![CDATA[a:3:{s:21:"required_applications";a:0:{}s:20:"hook_php_version_min";s:0:"";s:20:"hook_php_version_max";s:0:"";}]]></hook_requirements> <hook_version_human>1.0.0</hook_version_human> <hook_version_long>1000</hook_version_long> <hook_extra_data><![CDATA[a:1:{s:7:"display";N;}]]></hook_extra_data> <hook_key>viewTopicRecentThreads</hook_key> <hook_global_caches/> </config> </hookdata> <hookfiles> <file> <hook_file_real>boardIndexRecentTopics.php</hook_file_real> <hook_type>templateHooks</hook_type> <hook_classname>viewTopicRecentThreads</hook_classname> <hook_data><![CDATA[a:8:{s:12:"dataLocation";s:0:"";s:14:"libApplication";s:0:"";s:15:"classToOverload";s:0:"";s:9:"skinGroup";s:10:"skin_topic";s:12:"skinFunction";s:17:"topicViewTemplate";s:4:"type";s:2:"if";s:2:"id";s:12:"scrollToPost";s:8:"position";s:11:"pre.startif";}]]></hook_data> <hooks_source><![CDATA[<?php class viewTopicRecentThreads { public $registry; public function __construct() { $this->registry = ipsRegistry::instance(); } public function getOutput() { $output = $this->registry->getClass('class_forums')->hooks_recentTopics(20); return $output; } }]]></hooks_source> </file> </hookfiles> <hookextras_settings/> <hookextras_language/> <hookextras_modules/> <hookextras_help/> <hookextras_templates/> <hookextras_css/> <hookextras_replacements/> <hookextras_tasks/> <hookextras_database_create/> <hookextras_database_alter/> <hookextras_database_update/> <hookextras_database_insert/> </hookexport> Using this method you can create any of the sidebar blocks for IP suite. I have one for recent blog posts too
  4. This is a great addon I have also installed Topic View Sidebar 1.0.1 in order to have sidebars in the topic view but I cannot figure out how to get the blocks to show up It seems the Topic View Sidebar is using different name for the blocks? Anyone have a solution for how to get Topic View Sidebar to load the custom sidebar blocks ? Topic View Sidebar uses hook ID "scrolltoPost" which enables it to add the sidebar to topic views, I think this is why its not showing the blocks because custom sidebar blocks uses hook ID "side_block" any help is appreciated
  5. This is a great addon I have also installed (e32) Custom Sidebar Blocks in order to have custom sidebars in the topic view but I cannot figure out how to get the blocks to show up It seems the Topic View Sidebar is using different name for the blocks? Anyone have a solution for how to get Topic View Sidebar to load the (e32) Custom Sidebar Blocks?
  6. OK i got it to work I had to un-install the app and re-install it works now yay
  7. I installed this early last year and now I upgraded to ipb 3.4.3 and the icons have disappeared. All the code changes are still there but the icons do not show. any ideas?
  8. one question, for some reason at the top of all my articles there is the latest media block, how do i remove it from there? using default ipb theme
  9. awesome everything working thanks for your help and time :smile: now if only I could figure out how to modify a block to show style like video lists like youtube subscription feed
  10. ok everything seems to be working now the only thing I see is double category names <div class="ipsLayout_content"> <h1 class="ipsType_pagetitle">News & Current Events</h1> <br> <div class="__like right" data-isfave="" data-relid="18" data-area="ccs_custom_database_3_categories" data-app="ccs"> <script type="text/javascript"> <span class="ipsButton_secondary right"> <h1 class="ipsType_pagetitle clearfix">News & Current Events</h1> what do I edit to remove the first one?
  11. ok since I deleted the blocks, re-imported them and all the templates for some reason it is using the media_demo database instead of media_sys I am going to follow the install guide instead of upgrade guide from step 9 and see how it goes :thumbsup:
  12. oh man all the videos are gone I guess I have to re-add them?
  13. also if you are intersted here is free class to autoembed from many sources, this would be great addition to your addon http://autoembed.com/about/ :sorcerer: thank you very much doing this now
  14. please tell me how to resolve the issue? delete all blocks anre re-iimport and clear cache or something else? thanks for you help btw :wub:
  15. the upgrade guide says to import the blocks... Upgrade Instructions Step 3: Import the Block Files I follow this instructions exactly....
×
×
  • Create New...