[MOD Request] A Wordpress widget

Started by codenut, September 16, 2006, 11:11:44 AM

Previous topic - Next topic

codenut

The subject pretty well says it all but what I am looking for would probably be two widgets - Top 10 Active Threads and Top 10 Most Recent Posts.

I would really like something like this to add to the main page of the site.
Steven Hodson
WinExtra
Blog: http://www.winextra.com
Forums: http://www.winextra.com/forums

vbgamer45

I would check out SSI
http://docs.simplemachines.org/index.php?topic=400

I think you could easly make a widget using those SMF features.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

codenut

Quote from: vbgamer45 on September 20, 2006, 08:42:06 PM
I would check out SSI
http://docs.simplemachines.org/index.php?topic=400

I think you could easly make a widget using those SMF features.

Thanks. I had a look and it appears that I will be able to hack something together along the lines of what I want. that is at least once I get my head wrapped around php a little better.
Steven Hodson
WinExtra
Blog: http://www.winextra.com
Forums: http://www.winextra.com/forums

codenut

Quote from: vbgamer45 on September 20, 2006, 08:42:06 PM
I would check out SSI
http://docs.simplemachines.org/index.php?topic=400

I think you could easly make a widget using those SMF features.

I ran into this error when I tried to apply the tag at the top of the wordpress template
<?php require("/snip>/<snip>/forums/SSI.php"); ?>

Fatal error: Cannot redeclare is_admin() (previously declared in /<snip>/<snip>/<snip>/wp-includes/functions.php:1625) in /<snip>/<snip>/<snip>/forums/Sources/Security.php on line 812


any suggestions that I can try?
Steven Hodson
WinExtra
Blog: http://www.winextra.com
Forums: http://www.winextra.com/forums

vbgamer45

hmm the tricky part for this is that <?php require("/snip>/<snip>/forums/SSI.php"); ?> has to be the very first php code called. You may have to place inside one of the wordpress files in the very top before the widgets are called.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: