| View previous topic :: View next topic |
| Author |
Message |
novalis Guest
|
Posted: Tue Dec 21, 2004 6:08 pm Post subject: upload new plugins? |
|
|
| Is possible to upload new / custom plugins? How? |
|
| Back to top |
|
rogerg Site Admin
Joined: 29 Nov 2004 Posts: 224 Location: Dublin, Ireland
|
Posted: Wed Dec 22, 2004 12:39 pm Post subject: |
|
|
At the moment you can only suggest a plugin that you would like to see working and if and when we get around to checking out the compatability of many of the plugins (many of which didn't work for us out of the box) - then we may include it. However you can do some things using smarty functions (there are many of these available for wordpress function equivalents) - so you can use functions such as the_author etc....see the following list:
the_author
the_author_description
the_author_login
the_author_firstname
the_author_lastname
the_author_nickname
the_author_ID
the_author_email
the_author_url
the_author_icq
the_author_aim
the_author_yim
the_author_msn
the_author_posts
the_author_posts_link
get_author_link
get_author_rss_link
wp_list_authors
list_authors
get_the_category
get_category_link
get_category_rss_link
the_category
the_category_rss
get_the_category_by_ID
get_category_parents
get_category_children
the_category_ID
the_category_head
category_description
dropdown_cats
wp_list_cats
list_cats
in_category
comments_template
clean_url
comments_number
comments_link
comments_popup_script
comments_popup_link
comment_ID
comment_author
comment_author_email
comment_author_link
comment_type
comment_author_url
comment_author_email_link
comment_author_url_link
comment_author_IP
comment_text
comment_excerpt
comment_date
comment_time
comments_rss_link
comments_rss
comment_author_rss
comment_text_rss
comment_link_rss
permalink_comments_rss
trackback_url
trackback_rdf
comments_open
pings_open
wp_loginout
wp_register
wp_meta
bloginfo
bloginfo_rss
bloginfo_unicode
get_bloginfo
wp_title
single_post_title
single_cat_title
single_month_title
get_archives_link
wp_get_archives
get_archives
calendar_week_mod
get_calendar
allowed_tags
the_date_xml
the_date
the_time
the_weekday
the_weekday_date
the_permalink
permalink_link
permalink_anchor
permalink_single_rss
get_permalink
get_page_link
get_month_link
get_day_link
get_feed_link
edit_post_link
edit_comment_link
get_previous_post
get_next_post
previous_post_link
next_post_link
previous_post
next_post
get_pagenum_link
next_posts
next_posts_link
previous_posts
previous_posts_link
posts_nav_link
get_the_password_form
the_ID
the_title
the_title_rss
get_the_title
the_content
the_content_rss
get_the_content
the_excerpt
the_excerpt_rss
get_the_excerpt
wp_link_pages
link_pages
get_post_custom
get_post_custom_keys
get_post_custom_values
the_meta
wp_list_pages
get_linksbyname
bool_from_yn
wp_get_linksbyname
wp_get_links
get_links
get_linkobjectsbyname
get_linkobjects
get_linkrating
get_linksbyname_withrating
get_links_withrating
get_linkcatname
get_autotoggle
links_popup_script
get_links_list
get_profile
mysql2date
current_time
date_i18n
get_weekstartend
get_lastpostdate
get_lastpostmodified
get_lastcommentmodified
user_pass_ok
get_currentuserinfo
get_userdata
get_userdatabylogin
get_userid
get_usernumposts
url_to_postid
get_settings
get_option
form_option
get_alloptions
update_option
add_option
delete_option
add_post_meta
delete_post_meta
get_post_meta
update_post_meta
get_postdata
get_commentdata
get_catname
gzip_compression
timer_stop
weblog_ping
generic_ping
trackback
make_url_footnote
xmlrpc_getposttitle
xmlrpc_getpostcategory
xmlrpc_removepostdata
debug_fopen
debug_fwrite
debug_fclose
do_enclose
pingback
discover_pingback_server_uri
wp_set_comment_status
wp_get_comment_status
wp_notify_postauthor
wp_notify_moderator
start_wp
is_new_day
apply_filters
add_filter
remove_filter
do_action
add_action
remove_action
using_index_permalinks
preg_index
page_permastruct
get_page_uri
page_rewrite_rules
generate_rewrite_rules
rewrite_rules
mod_rewrite_rules
get_posts
check_comment
query_posts
update_post_caches
update_category_cache
update_user_cache
wp_head
is_single
is_page
is_archive
is_date
is_year
is_month
is_day
is_time
is_author
is_category
is_search
is_feed
is_home
is_404
get_query_var
have_posts
the_post
get_stylesheet
get_template
get_template_directory
get_theme_data
get_themes
get_theme
get_current_theme
get_page_template
htmlentities2
wp_mail
wp_login
is_plugin_page
add_query_arg
remove_query_arg
load_textdomain
load_default_textdomain
load_plugin_textdomain
load_theme_textdomain
wptexturize
clean_pre
wpautop
seems_utf8
utf8_uri_encode
remove_accents
sanitize_title
sanitize_title_with_dashes
convert_chars
balanceTags
format_to_edit
format_to_post
zeroise
backslashit
trailingslashit
addslashes_gpc
antispambot
make_clickable
convert_smilies
is_email
strip_all_but_one_link
wp_iso_descrambler
get_gmt_from_date
get_date_from_gmt
iso8601_timezone_to_offset
iso8601_to_datetime
popuplinks
wp_insert_post
wp_get_single_post
wp_get_recent_posts
wp_update_post
wp_get_post_cats
wp_set_post_cats
wp_delete_post
post_permalink
get_cat_name
get_cat_ID
get_author_name
get_extended
trackback_url_list
user_can_create_post
user_can_create_draft
user_can_edit_post
user_can_delete_post
user_can_set_post_date
user_can_edit_post_date
user_can_edit_post_comments
user_can_delete_post_comments
wp_new_comment
do_trackbacks
get_pung
get_to_ping
add_ping _________________ Blogsome Team Member |
|
| Back to top |
|
Guest
|
Posted: Mon Jan 10, 2005 4:59 am Post subject: |
|
|
So that's a nice long list of functions we can use, but I'm having trouble changing stuff in $content. How can I loop through all the posts that come back from the DB query we already did?
The index.html that blogsome gave me doesn't do much with each post, they all seem to be lumped into $content.
<div id="content">
{$content}
....
</div>
I want to go back and do some stuff like the old index.php
foreach ($posts as $post)
Is there a way to loop on all posts?? I tried using a smarty foreach and an eval but the eval doesn't seem to work.
{eval var="get_posts" assign="xx" }
{foreach from=$xx item=curr_id}
POST: {$curr_id}<br />
{/foreach}
I also tried adding an assign before the eval.
{assign var="x" value="get_posts" }
But all that ever comes out is the plain text "get_posts". |
|
| Back to top |
|
mds
Joined: 11 Jun 2005 Posts: 10
|
|
| Back to top |
|
|