bitweaver
Wiki
wiki Home
List Pages
wiki Books
Orphan Pages
wiki Rankings
Photos
List Galleries
Forums
Browse forums
Files
List Galleries
Categories
List Categories
Sign In
Message Boards
»
15. Trash
Newest
Oldest
Threaded
5
10
20
50
100
All
Messages
Some questions and suggestions.
Post Reply
Alex Bucur
Joined: 02 Apr 2006
Some questions and suggestions.
Posted:02 Apr 2006 (17:12 UTC)
xing
Joined: 07 Mar 2004
Posted:07 Apr 2006 (07:07 UTC)
Post Reply
Page 1 of 1
1
Post
Title
Login
If you are already registered, please enter your login credentials.
Your Name
Anonymous Post
Content Format
Tiki Wiki Syntax
Allow HTML
{quote format_guid="bbcode" comment_id="4879" user="xing"}1. we have a meta package in cvs. from what i know, it's only available for our development release R2 and will not work with R1. if you want to port it to R1, that would be very cool. drop by irc for details. 2. no ETA on any release. looking at past releases, we usually have a few months between the releases unless we have pressing security matters that need fixing. 3. there is a lot of discussion about what forums we should use and add. there are even discussions about writing our own, which would be fully integrated into bw. this would allow the same syntax and other bw features. 4. we have an adsense liberty plugin and i just added it to R1 cvs. i haven't tested it but here is the code. [code:1:80af354d1f] <?php global $gLibertySystem; define( 'PLUGIN_GUID_ADSENSE', 'adsense' ); $pluginParams = array ( 'tag' => 'ADSENSE', 'auto_activate' => FALSE, 'requires_pair' => FALSE, 'load_function' => 'data_adsense', 'title' => 'Adsense', 'help_page' => 'DataPluginAdsense', 'description' => tra("This plugin adds Adsense Code to page."), 'help_function' => 'data_adsense_help', 'syntax' => "{ADSENSE}", 'path' => LIBERTY_PKG_PATH.'plugins/data.adsense.php', 'security' => 'registered', 'plugin_type' => DATA_PLUGIN ); $gLibertySystem->registerPlugin( PLUGIN_GUID_ADSENSE, $pluginParams ); $gLibertySystem->registerDataTag( $pluginParams['tag'], PLUGIN_GUID_ADSENSE ); /***************** * Help Function * *****************/ function data_adsense_help() { return 'NO HELP WRITTEN FOR {ADSENSE} YET'; } /**************** * Load Function * ****************/ function data_adsense($data, $params) { return '<!--~np~--><script type="text/javascript"><!-- ' . "\n" . 'google_ad_client = "pub-xxxxxxxxxxxxxxxx";' . "\n" . 'google_ad_width = 728;' . "\n" . 'google_ad_height = 90;' . "\n" . 'google_ad_format = "728x90_as";' . "\n" . 'google_ad_type = "text_image";' . "\n" . 'google_ad_channel ="";' . "\n" . '//--></script>' . "\n" . '<script type="text/javascript"' . "\n" . ' src="http://pagead2.googlesyndication.com/pagead/show_ads.js">' . "\n" . '</script><!--~/np~-->'; } ?> [/code:1:80af354d1f] copy the code to the file: liberty/plugins/data.adsense.php and you can use it from within a wiki page or an article. if you want to create a module, make a module with the appropriate code. use existing modules as an example. you will only need the .tpl file of the module. a good example of a module you might need as a sample is: kernel/modules/mod_powered_by.tpl 5. not sure what this is 6. you need to modify the templates or replace the menu with one of your own using nexus. the templates are usually found at: <package>/templates/menu_<package>.tpl copy the files you want to modify to themes/force/ and edit them there. that will override the original files. x{/quote}
Recent Page Changes
welcome to bitweaver.org
Bitweaver Overview
ReleaseTwo Schema Changelog 2006
PressReleaseOne
Spider's Web
Press Release Two
BitcommercePackage
InfiniBand vs Ethernet Performance
InfiniBand for Dummies
Show More…