Welcome Guest ( Log In | Register )

15 Pages « < 5 6 7 8 9 > » Bottom

Outline · [ Standard ] · Linear+

 The WordPress Thread, Anything related to Wordpress

views
     
Thalmes
post May 23 2010, 03:54 PM

Genie Pig!
******
Senior Member
1,799 posts

Joined: Dec 2008
QUOTE(JusticeDeserves @ May 23 2010, 02:05 PM)
Try going to http://yourblog.wordpress.com/wp-admin/the...hp?page=editcss. Then in the textarea add:
CODE
background-image: url(http://the.url.to.your.image/);
background-repeat: no-repeat;

*
Hmm , Don't quite get you but yeah . I also want custom Widgets , CSS . I can't update it manually via ADD THEMES (Don't have it at all) . I don't have FTP / CPanel too . I'm pretty much stucked ?
Shazril
post May 23 2010, 05:29 PM

Getting Started
**
Junior Member
235 posts

Joined: Nov 2005



QUOTE(Thalmes @ May 23 2010, 03:54 PM)
Hmm , Don't quite get you but yeah . I also want custom Widgets , CSS . I can't update it manually via ADD THEMES (Don't have it at all) . I don't have FTP / CPanel too . I'm pretty much stucked ?
*
Then I suggest you to get a web hosting. You'll have full control on your Wordpress. smile.gif

By the way does anyone here use WPMU + Buddypress? Seems that blogs in my site disappeared after latest Buddypress update.

This post has been edited by Shazril: May 23 2010, 05:29 PM
evilsmile
post May 23 2010, 08:13 PM

Getting Started
**
Junior Member
248 posts

Joined: Sep 2009


Hi, just setup a new wordpress blog, www.einsthemes.com

The niche is "cool wordpress themes, plugins and tutorials, seo etc"

user posted image

please do visit some time especially when searching a new theme for your blog smile.gif

again, the url is www.einsthemes.com

Thalmes
post May 23 2010, 09:01 PM

Genie Pig!
******
Senior Member
1,799 posts

Joined: Dec 2008
Thanks for sharing !

I will get my own hosting when the time is right =D
toocommon
post May 23 2010, 10:12 PM

Casual
***
Junior Member
388 posts

Joined: Mar 2008
From: PJ
hi guys, im trying to modify a wordpress theme built by someone else.
i cant find out where it set the value whenever the form is submit...
is there some standard way of doing it in wordpress theme which i don't know?
is it some predefined functions which handle the form whenever is submitted?

fyi, im new in php and wordpress.
JusticeDeserves
post May 23 2010, 11:21 PM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


QUOTE(toocommon @ May 23 2010, 10:12 PM)
hi guys, im trying to modify a wordpress theme built by someone else.
i cant find out where it set the value whenever the form is submit...
is there some standard way of doing it in wordpress theme which i don't know?
is it some predefined functions which handle the form whenever is submitted?

fyi, im new in php and wordpress.
*
The comment form? Or is it a custom form?
If you're going to use a custom form, just add:
if($_POST['submit-data']) {
//do stuff
}

in functions.php of the theme.


About the comments, you need to learn the functions first.

This post has been edited by JusticeDeserves: May 23 2010, 11:21 PM
toocommon
post May 23 2010, 11:29 PM

Casual
***
Junior Member
388 posts

Joined: Mar 2008
From: PJ
QUOTE(JusticeDeserves @ May 23 2010, 11:21 PM)
The comment form? Or is it a custom form?
If you're going to use a custom form, just add:
if($_POST['submit-data']) {
//do stuff
}

in functions.php of the theme.
About the comments, you need to learn the functions first.
*
my case is like this,

i have a theme build by someone else, it's a ecommerce theme.
before a customer confirm the order, can input some remarks which is a text area.
i go and check the file which has the similar function where there is text area for input and save into db,
in tat file itself, i cant see any method handling the text area when the form is submit...
i duno how it get the value from that text area and how it is then stored into db...

fyi, im a java web developer, find it different from what i normally do.

thanks


Added on May 24, 2010, 12:49 amHi, i read about this WordPress Settings API Tutorial

if not mistaken,

let say if i

<?php add_settings_field('plugin_text_string', 'Plugin Text Input', 'plugin_setting_string', 'plugin', 'plugin_m

and then in my html


<?php function plugin_setting_string() {
$options = get_option('plugin_options');
echo "<input id='plugin_text_string' name='Plugin text Input' size='40' type='text' value='{$options['text_string']}' />";
} ?>

whenever i submit the form, wordpress will auto process and save watever value in the "Plugin text Input".

is that correct?

This post has been edited by toocommon: May 24 2010, 12:49 AM
JusticeDeserves
post May 24 2010, 03:30 PM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


QUOTE(toocommon @ May 23 2010, 11:29 PM)
my case is like this,

i have a theme build by someone else, it's a ecommerce theme.
before a customer confirm the order, can input some remarks which is a text area.
i go and check the file which has the similar function where there is text area for input and save into db,
in tat file itself, i cant see any method handling the text area when the form is submit...
i duno how it get the value from that text area and how it is then stored into db...

fyi, im a java web developer, find it different from what i normally do.

thanks


Added on May 24, 2010, 12:49 amHi, i read about this WordPress Settings API Tutorial

if not mistaken,

let say if i

<?php add_settings_field('plugin_text_string', 'Plugin Text Input', 'plugin_setting_string', 'plugin', 'plugin_m

and then in my html
<?php function plugin_setting_string() {
$options = get_option('plugin_options');
echo "<input id='plugin_text_string' name='Plugin text Input' size='40' type='text' value='{$options['text_string']}' />";
} ?>

whenever i submit the form, wordpress will auto process and save watever value in the "Plugin text Input".

is that correct?
*
It looks like it should work. The data will be saved to the wp-options table.


Added on May 24, 2010, 3:30 pmAnyone here having a problem with WP Smush.it plugin in Wordpress 3 Beta 2?

This post has been edited by JusticeDeserves: May 24 2010, 03:30 PM
Shazril
post May 24 2010, 09:45 PM

Getting Started
**
Junior Member
235 posts

Joined: Nov 2005



just tried WP Smush.it in my local WP 3.0 beta 2 installation and it works fine.
JusticeDeserves
post May 24 2010, 11:20 PM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


QUOTE(Shazril @ May 24 2010, 09:45 PM)
just tried WP Smush.it in my local WP 3.0 beta 2 installation and it works fine.
*
It loads great but then how do you Smush it? laugh.gif
sunsuron
post May 26 2010, 12:44 AM

Regular
******
Senior Member
1,334 posts

Joined: Nov 2004



» Click to show Spoiler - click again to hide... «


Another way to do it is by playing the 'meta data' or post meta or terms and taxonomies or simply 'custom fields'. A post can have 'unlimited' meta which we can insert through the 'custom fields' box (usually visible just under the editor during adding/editing a post). To examine a post with custom fields, we use the get_post_meta() function in the loop for example. But I prefer adding a custom meta box (add_meta_box()) rather than forcing user to use the 'custom fields' because it is more easier on the intended functionality and more control including custom CSS and JS. Lots of existing APIs such as add_action('save_post', 'my_func'); delete_post_meta(); update_post_meta(); can be used to gain control.
toocommon
post May 26 2010, 12:54 AM

Casual
***
Junior Member
388 posts

Joined: Mar 2008
From: PJ
QUOTE(sunsuron @ May 26 2010, 12:44 AM)
» Click to show Spoiler - click again to hide... «


Another way to do it is by playing the 'meta data' or post meta or terms and taxonomies or simply 'custom fields'. A post can have 'unlimited' meta which we can insert through the 'custom fields' box (usually visible just under the editor during adding/editing a post). To examine a post with custom fields, we use the get_post_meta() function in the loop for example. But I prefer adding a custom meta box (add_meta_box()) rather than forcing user to use the 'custom fields' because it is more easier on the intended functionality and more control including custom CSS and JS. Lots of existing APIs such as add_action('save_post', 'my_func'); delete_post_meta(); update_post_meta(); can be used to gain control.
*
i found out how already...previously i confused myself with something else XD.
Thanks.

JusticeDeserves
post May 26 2010, 06:30 PM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


I just worked out a custom contact form, wasn't hard thanks to a whole lot of Wordpress hooks/functions.

Anyway of integrating Automattic Kismet/Akismet with the form?

This post has been edited by JusticeDeserves: May 26 2010, 06:31 PM
sunsuron
post May 26 2010, 07:53 PM

Regular
******
Senior Member
1,334 posts

Joined: Nov 2004



QUOTE(JusticeDeserves @ May 26 2010, 06:30 PM)
I just worked out a custom contact form, wasn't hard thanks to a whole lot of Wordpress hooks/functions.

Anyway of integrating Automattic Kismet/Akismet with the form?
*
I haven't personally tested it but the idea is to treat a contact form as comment. Because of the built-in akismet plug-in is built to protect spam from the comments form, we can channel the submitted data from the contact form to the comment system for example http://codex.wordpress.org/Function_Reference/wp_new_comment
JusticeDeserves
post May 26 2010, 10:31 PM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


QUOTE(sunsuron @ May 26 2010, 07:53 PM)
I haven't personally tested it but the idea is to treat a contact form as comment. Because of the built-in akismet plug-in is built to protect spam from the comments form, we can channel the submitted data from the contact form to the comment system for example http://codex.wordpress.org/Function_Reference/wp_new_comment
*
That's a good idea but I wont be able to store it in another database, will clash with the other comments.
Anyway I'm looking at:
http://akismet.com/development/api/


Added on May 26, 2010, 10:36 pmOh wait, here is a class which easily lets you check for spam. Its all I can get right now:
http://www.achingbrain.net/stuff/php/akismet


Added on May 26, 2010, 11:44 pmDone, works great now.
Using: http://code.google.com/p/akismet-php-curl-class/

You can try sending me a <removed> email, it'll be labeled as spam

This post has been edited by JusticeDeserves: May 26 2010, 11:44 PM
stereokumonomu
post May 27 2010, 03:40 AM

On my way
****
Senior Member
606 posts

Joined: Sep 2008



is installing wordpress MU like installing a plugin, or it needs a whole new installation?

through my reading, it need new installation right?
JusticeDeserves
post May 27 2010, 02:42 PM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


QUOTE(stereokumonomu @ May 27 2010, 03:40 AM)
is installing wordpress MU like installing a plugin, or it needs a whole new installation?

through my reading, it need new installation right?
*
Its a separate installation. Alternatively, you can use Wordpress 3 Beta 2 and edit the wp-config.php file to enable WPMU in it.
Wordpress MU is being merged with Wordpress 3.0.
stereokumonomu
post May 27 2010, 05:22 PM

On my way
****
Senior Member
606 posts

Joined: Sep 2008



so does it means wpmu will be ceased when wp3.0 roll out?
anakrantau
post May 27 2010, 06:26 PM

Enthusiast
*****
Senior Member
753 posts

Joined: Dec 2004
yess.. cant wait for Wordpress 3.0 full release..
so I can manage my subdomain project biggrin.gif
JusticeDeserves
post May 28 2010, 05:18 AM

Regular
******
Senior Member
1,914 posts

Joined: Aug 2009


Wordpress is now 7 years old, expect RC today night Malaysian time.

15 Pages « < 5 6 7 8 9 > » Top
 

Change to:
| Lo-Fi Version
0.0302sec    0.87    6 queries    GZIP Disabled
Time is now: 21st December 2025 - 08:37 PM