Amit Gupta
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: New WP Plugin. Can I pick GPL v3 or stick with v2?If they do then the topic will be closed. These are not and never will be legal advice forums.
Hence I did not ask for legal advice but for an opinion. There are lots of opinions of just about everyone regarding GPL and frankly most of them don’t matter much in real world. Like if you want an opinion on the engine type and oil for your car, why would you ask your grocer for their opinion on that matter? ??
Same if this becomes a GPL topic as those become really weird on this site.
Yeah I’m aware of the whole history and the baggage such a discussion can get weighed down under.
Thanks for the SO link.
Forum: Plugins
In reply to: [iG:Syntax Hiliter] How to actually use this?Sorry for the late reply (www.ads-software.com does not notify about support requests).
From the plugin description:
iG:Syntax Hiliter allows you to post source code to your site with syntax highlighting and formatting (as seen in code editors, IDEs). You can paste the code as is from your code editor or IDE and this plugin will take care of all the code colouring and preserve your formatting.
So it wont show any toolbar or anything else when you’re writing your post. What it does is when you post source code (Java, PHP, HTML, etc) for display in your post, it displays that on your website/blog in a neat beautiful way. You would need to use relevant tags to beautify your source code though. More info on that here.
You can see the plugin in action on this blog post in which all code examples have been presented in a neat way by this plugin.
This plugin is basically meant for software engineers & web developers/designers who post source code to share with others. If you don’t write code then this plugin is most likely not meant for you. ??
Forum: Reviews
In reply to: [iG:Twitter Cards] Crashes WPWhich version of WordPress did you install it on and which version of PHP do you have?
Forum: Fixing WordPress
In reply to: Tried to add a plugin and now my whole site is goneI’m assuming you’re on PHP 5.2 as the
__DIR__
was added in PHP 5.3 (and so isn’t available in earlier versions).Forum: Plugins
In reply to: [iG:Syntax Hiliter] XML ProblemIts not a plugin issue, you can’t use the WYSIWYG editor/Visual mode when posting code, it will mess up your code and formatting.
Forum: Plugins
In reply to: [iG:Syntax Hiliter] Couple issuesIt is replacing tabs with spaces. Not sure if its the plugin or WordPress
The plugin converts tabs to spaces when displaying code on the front-end (not in wp-admin). Its needed for flexibility in how code can be displayed; the only way to preserve tabs and show indentation as is, is to use
<pre>
which presents issues with line wrapping. But for the plain text view this might be possible to do.It doesn’t let me past code with tabs unless I switch the page mode from ‘visual’ to ‘text’.
That’s WordPress & TinyMCE editor. Your code will not be preserved if you paste it in “Visual” mode, so don’t use it.
There isn’t any color highlighting on coding.
Can you elaborate a bit? Your code isn’t highlighted when you view the post? Or it isn’t coloured in wp-admin when you’re writing a post?`
Forum: Plugins
In reply to: [iG:Twitter Cards] iG Twitter CardJetpack or any tweet button has no relation whatsoever with this plugin. It works independent of any social sharing plugins you may use.
In your wp-admin, on the post edit screen, you need to select the twitter card type as “player” and then enter the video details and then save the post.
Here is the page.
https://www.rockthemullet.com/the-lamour-era/
The tweet button does not seem to embed the video.
For this page the card type is still set to “summary” & that is why video is not showing up on Twitter.
Forum: Plugins
In reply to: [iG:Twitter Cards] iG Twitter CardWhen you create the post, you’ll need to add the video details in the box labelled “iG:Twitter Cards”. Check the second screenshot
Also, as mentioned in the FAQs, the video URL needs to be
https
& nothttp
If you are hosting your videos then you need to be white-listed by Twitter first before you can start using player cards.
If you’re using YouTube for videos then you should be ok by using YouTube embed URL. Fo eg., if your YouTube video is at https://www.youtube.com/watch?v=gSng3z18GOk then your embed URL would be https://www.youtube.com/embed/gSng3z18GOk. This is available in embed options on every YouTube video page. Just remember that it should start with
https
to work with Twitter player cards.Forum: Plugins
In reply to: [iG:Syntax Hiliter] 502 Bad GatewayA 502 error is usually thrown due to faulty communication between server & proxy/load balancer.
Did you try activating the plugin again? And do you get that only when you activate the plugin?
Forum: Plugins
In reply to: [iG:Syntax Hiliter] the 4.1 update is not working properlyWhich version of WordPress are you using? And what is the version of PHP?
Forum: Plugins
In reply to: [iG:Syntax Hiliter] the 4.1 update is not working properlyOn a side note, if you wish to prevent code from being highlighted in
[as]
&[/as]
tags then you can escape those tags like:[[as] //some code here [/as]]
Notice the extra [ before the starting tag and extra ] after the closing tag. This way you can prevent the code in this block from being parsed by the plugin.
Forum: Plugins
In reply to: [iG:Syntax Hiliter] the 4.1 update is not working properlyit brings out the color in the code enclosed in [as] … [/ as]
You mean it highlights the code between
[as]
&[/as]
tags? It is supposed to do that, even v3.5 highlights code between[as]
&[/as]
tags.and letter of the code is very tiny
That seems like a CSS issue. If you can give me the URL to your blog where you’re having this issue maybe I can suggest the CSS you can use.
Forum: Plugins
In reply to: [Plugin: WP-DBManager] Does not work after wordpress 2.9@gamerz
Yes, after that I tried the SSH command (echoed out by the database-backup.php) & it worked. I tried it just now as well, the SSH works but this time I didn’t get those additional MySQL lines when I tried database-backup.phpForum: Plugins
In reply to: [Plugin: WP-DBManager] Does not work after wordpress 2.9I just upgraded one of my other blogs to v2.9.1 from v2.8.6. The plugin was working fine on this blog (as mentioned earlier, it was not upgraded) but just now after WordPress upgrade, its no longer working & gives following error:
-- MySQL dump 10.11 -- -- Host: localhost Database: userb_wpdbt -- ------------------------------------------------------ -- Server version 5.0.87-community /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; Warning: filesize() [function.filesize]: stat failed for /home/userb/public_html/dtbbak/1263186652_-_userb_wpdbt.sql.gz in /home/userb/public_html/wp-content/plugins/wp-dbmanager/database-backup.php on line 57 Warning: unlink(/home/userb/public_html/dtbbak/1263186652_-_userb_wpdbt.sql.gz) [function.unlink]: No such file or directory in /home/userb/public_html/wp-content/plugins/wp-dbmanager/database-backup.php on line 58
Seems to me something in WordPress is at play here because it was working alright just before upgrade.
Forum: Plugins
In reply to: [Plugin: WP-DBManager] Does not work after wordpress 2.91. Yes the folder is CHMOD to 777, I just checked it again.
2. Besides the warnings I listed above, the DB Manager gives following as WordPress error (this is the one I just copied)
Database Failed To Backup On 'January 4, 2010 @ 6:59 pm'. Backup File Size Is 0KB.
3. I replaced the passthru() with system() & same warning & error came. I then tried exec() & the result was again same.