70074512
Forum Replies Created
-
Thank you, I’ve just noticed that you’ve got the Uncaught Exception: 190 error while mine is Uncaught Exception: 1: An unknown error occurred thrown in on line 1044… sorry
Forum: Plugins
In reply to: [Plugin: uCan Post] Add expiry date and archive category to a post form?For anyone interested and needs a quick solution, here’s a workaround I found if you are using UCAN Post plugin (you can see it in action here: http://qrspace.coolestech.com, create a new post and click add expiry):
1- Go to the directory: /ucan-post/views
2- Edit the file: UCAN-Publish.phpThe file content should be like this:
<p> <strong style="font-size:18px;color:blue;"> <?php echo __('Congratulations, your post was submitted successfully!', 'ucan-post'); ?> </p> <?php if($this->ucan_options['uCan_Moderate_Posts']){ ?> <p> <strong> <?php echo __('Your post is awaiting moderation and should be available soon.', 'ucan-post'); ?> </strong> </p> <?php } else $maybe_view_new_post = '<a href="'.$new_post_permalink.'">'.__('View My Submission', 'ucan-post').'</a>'; $maybe_edit_new_post = '<a href="'.get_edit_post_link($new_post_id).'">Add Expiry Date</a>';?> <p> <?php echo $maybe_view_new_post; echo ' | '; echo $maybe_edit_new_post; ?> </p>This will lead to the user going to the edit post page where the meta box is available, view how it looks here:
http://qrspace.coolestech.com, (create a new post and click add expiry)(You can Select all contents of the file and replace them with the above code π )
For anyone interested and needs a quick solution, here’s a workaround I found if you are using UCAN Post plugin (you can see it in action here: http://qrspace.coolestech.com, create a new post and click add expiry):
1- Go to the directory: /ucan-post/views
2- Edit the file: UCAN-Publish.phpThe file content should be like this:
<p> <strong style="font-size:18px;color:blue;"> <?php echo __('Congratulations, your post was submitted successfully!', 'ucan-post'); ?> </p> <?php if($this->ucan_options['uCan_Moderate_Posts']){ ?> <p> <strong> <?php echo __('Your post is awaiting moderation and should be available soon.', 'ucan-post'); ?> </strong> </p> <?php } else $maybe_view_new_post = '<a href="'.$new_post_permalink.'">'.__('View My Submission', 'ucan-post').'</a>'; $maybe_edit_new_post = '<a href="'.get_edit_post_link($new_post_id).'">Add Expiry Date</a>';?> <p> <?php echo $maybe_view_new_post; echo ' | '; echo $maybe_edit_new_post; ?> </p>This will lead to the user going to the edit post page where the meta box is available, view how it looks here:
http://qrspace.coolestech.com, (create a new post and click add expiry)(You can Select all contents of the file and replace them with the above code π )
looks like the whole point lies in the code with the comment “Called when post is saved – stores expiration-date meta value”. Is it as simple as adding drop boxes with labels $day,$hour etc…?
Could you please guide me? Or if you have time could you please write some sample code?Forum: Plugins
In reply to: [Plugin: uCan Post] Add expiry date and archive category to a post form?best plugin so far is: post expirator…
unfortunately, I couldn’t add it to the submissions form…
You can view my ticket here:
http://wordpress.org/support/topic/plugin-post-expirator-show-box-in-user-end-for-guest-postsForum: Fixing WordPress
In reply to: %postname% – max. length? Permalink questionplease let me know if you find any solution…
If the url is for example:
http://www.coolestech.com/something-isnt-necessary-or-long-is-here
to change to
http://www.coolestech.com/something-isnt-necesI want to cut the extra length…
To add a url:
<a href="http://www.coolestech.com" title="Coolestech Blog!">Coolestech.com</a>to add an image:
<img src="http://http://www.coolestech.com/header.jpg" alt="Coolestech Header"/>to add an image with a url:
<a href="http://www.coolestech.com" title="Coolestech Blog!"><img src="http://http://www.coolestech.com/header.jpg" alt="Coolestech Header"/></a>You can also use these:
Template directory:<?php bloginfo('template_directory'); ?>/images/image.jpgPost Title:
<?php the_title(); ?>Post URL:
<?php the_permalink(); ?>by the way, I’m currently working on: http://www.test.coolestech.com , after everything is ok I’ll apply the changes to the original website: http://www.coolestech.com
Hi, I’m having trouble knowing the selectors too… I’m using wpzoom gallery v1.1 , I’m currently testing it on http://www.test.coolestech.com , but I will be using it on my original website shortly ( http://www.coolestech.com ), I have uploaded the styles.css file here: http://www.megaupload.com/?d=4FK4HODN