Saturday, December 24, 2011

Error while reverting from Field Permission back to Conent Permission module (Solved)

I came across this wonderful module "field permission" which can be used for more advanced permission settings for your contents. But then after sometime I realized that I needed to implement the Question/Answer module for my client. Now, the problem I faced was the Question/Answer module depends upon the "content permission module." With the "field permission" module already implemented, I was in a fix, because once I disabled the filter permission module and re-enabled the content permission I started getting queer error while accessing my Organic Group. Something like...

"user warning: Unknown column 'node_data_field_event_date.field_event_date_value' in 'where clause' query: SELECT COUNT(*) FROM (SELECT DISTINCT node.nid AS nid FROM d6_node node LEFT JOIN d6_og_ancestry og_ancestry ON node.nid = og_ancestry.nid INNER JOIN d6_node_access na ON na.nid = node.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public') OR (na.gid = 966 AND na.realm = 'og_admin')"

Few weeks back, I wasn't able to find the solution to this. But today while working around, I've found it.

What I noticed is that once you enable the Filter Permission module you are asked to uninstall the content permission module. And after enabling the Filter Permission module if you create a field_type
 (in my case I'd created even_date, which as you can see in the aforementioned query was the culprit for all the errors...) and again revert back to Content Permission module you will start getting errors like mine.

To solve this, try these two simple steps:

  1. Go to "admin/content/node-settings" and REBUILD PERMISSIONS and see whether that solves your problem or not.
  2. Else go to "admin/user/permissions" and look for filed (in my case field_event_date) that's causing the error and see whether the required permission is granted to roles such as "authenticated users" and guest or the role of your choice. If, not grant the required permissions and SAVE.
Your problem should resolve now.

Wednesday, December 7, 2011

Active Slide Pager Error for Views Singleframe Slideshow Solved

This solution is for Views Slideshow: SingleFrame
6.x-2.3


I was facing this problem where I was unable to display the background for my pager-number for the activeSlide for Views Singleframe slideshow.

Finally I applied this CSS code and got it working:

.views-slideshow-controls-bottom .pager-item.activeSlide a {
    background: url("../images/custom_images/pager.png") no-repeat center bottom transparent;       
}


So, the main thing is put an "a tag" after activeSlide ==> i.e  activeSlide a.

For hover you can try this:

.views-slideshow-controls-bottom .pager-item a:hover {
    background: url("../images/custom_images/pager.png") no-repeat center bottom transparent;
}


Hope that helps.

Thursday, December 1, 2011

Ajax, JavaScript Error on Google Chrome, Drupal

Today, the whole day I noticed this queer problem in Google Chrome while using modules like Poll and Vote Up and Down. Usually with any modules that had an Ajax interaction. Like with the Vote Up Down the processing blue circle indicator wold simply keep circling and only after a page refresh it would display the votes.

I figured out, at least in my case, I had enabled the Firebug extension in Google Chrome and this was the villain. Once I disabled it all seem to be working just fine. So, here it is folks! Hope this helps..

Thursday, November 3, 2011

How to display a drupal block on a particular || specific page?

Well, I wont say this is the shortest solution, but I guess for non-programmer it just might be the simplest and yet effective solution.

It's been quite sometime that I've really coded and since the time I came across Drupal most of my time has been in learning the admin part and so haven't quite got the time to dive into Drupal development.

Anyway, I will try to explain you my trick using an analogy that I just encountered a short while ago. I was trying to configure the visibility of certain blocks related to the Organic Module. I wanted certain blocks to appear only on the Organic module and tried two solutions but they couldn't quite meet my need of the moment.

As we know in the Drupal's Page specific visibility settings we have three options, namely:

1. Show on every page except the listed pages.
2. Show on only the listed pages.
3. Show if the following PHP code returns TRUE (PHP-mode, experts only).


We are going to use the 2nd option for our solution.


Solutions #1: 

Here, selecting the "first option" I applied these settings below:

og [[refers to the main organic group page in your site ==> http://www.example.com/og ]]
og/*  [[in Drupal * is a wildcard entry, here it means, the main og page, and all the various og pages]]

The problem I encountered using this solution was that, since the group topics, are content-type, once i visited a certain group topi, the url would change to something like this ==> "www.example.com/node/12." Because of this using the solution ==> og/* was pointless.

Then again I tried this solution using a PHP snippet from this website ==> http://geshan.blogspot.com/2009/11/show-drupal-blocks-only-on-specific.html, I liked his solution but it quite didn't fulfill my requirement.

So eventually I came up with my own basic and simple solution. It's just tweaking the first solution. In the block configure page:

Select ==> "Show on only the listed pages."
and type this in the box below each statement in a new line:
og
og/*
node/12 

Note: You will have to find the node id. of your group content-type and replace 12 with it. To find the node-content type,simply edit that content-type and check the url.. there you should be able to view the node-number(id)

Converting 7zip (.7z), WinZip (.zip) files into Gzip (.gz) in Windows

This solutions especially helped me a lot for importing my "MySQL Dumps" from my local server to my remote server.

My problem & How this Solution Helped me:

My web-host seem to have restricted "importing .zip mysql dumps" to my server. And my Xampp which is an older version (XAMPP for Windows Version 1.7.1 !)  don't seem to work well with Gzip. The newer version of Xampp does work well but since right now I am obliged to use PHP 5.2.x I haven't upgraded.

So, blabbing apart, here's the solutions:

Use this small but very powerful called Win-Gz tool to compress / decompress any file(s) into .gz (GZip) format. You can also use ArcConvert to make compression from .7z into .gz ... .gz into .7z etc...

Here are the download links:

1. Win-GZ
2. ArcConvert

Hope this helps .... have fun!

Friday, April 15, 2011

Simple GUI Tool for Applying Patch in Drupal

This post will teach you "How to apply a patch to your file" in a Windows operating system.

If you are not the shell kindda user or a command prompt buff, you can use this small but effective GUI ( (Graphical User Interface) ) tool for applying patch to your Drupal files. I've noticed the various kind of errors esp in modules such as UberCart, Advanced Users and also when your web server is using a PHP 5.3.x version, and applying the "relevant patch" seems to be the only solution.

Download this awesome tool here ==> http://tortoisesvn.net/downloads.html. There are 2 versions, namely the 32-bit or the 64-bit. Download and install the relevant software with respect to your Operating system (32 bit or 64 bit).  You might have to restart your computer after the installation.

Here's how you apply the patch using Tortoise SVN:

Before you apply the patch please backup your database and the file system (your drupal folder on the web server) else you might repent later on...

1. Download the relevant patch from Drupal. Click on the patch.

2. A Window will open from where you can select the folder you want to patch. Yes, the folder and not the file, (Tortoise will automatically detect the relevant file that's needed to be patched).

3. Finally go to File and Save.

Done!!!!

Update [19/May/2012]: I found a more detailed description on this topic on the Tortoise SVN website. Here's the link: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-patch.html

Tuesday, April 5, 2011

Facebook Shortcut(s)

Shortcut #1: How to START or Go to a New Line in the Comment Box (New Facebook || FB)

As everyone of us must have noticed, it's not possible to press enter and go to the new line unlike the earlier comment box, making it difficult for people to post smileys, emoticons, comments the way they would like to. & today I happened to find a simple solution to this obscure problem. Simply, Press (Shift+Enter) in your comment box. Eureka!!! & it's done...

N.B: Visitors are welcome to post the FB shortcuts they discover in the comment box.

Thanks!!!! 


Saturday, April 2, 2011

BOOTMGR is compressed. Press Ctrl+Alt+Del to restart - What to do?

I just tried to install Windows 7 (32 bit) Ultimate edition on my friend's 4 year old Toshiba Satellite Laptop. Firstly I created another D:\ (can be any label of your choice.. E:\, F:\ etc...) Primary Partition from the default single C:\ drive partition. For installing an OS, a Primary Partition is recommended.

The installation went fine until the time the computer restarted? & Lo!!! I got this queer BOOTMGR error!!!!!!!!!!!! 

After Googling here and there for the solution... I eventually arrived at one. Follow the steps below:

1. First go to your BIOS (at the time of restart) by pressing F2 and change your Boot Priority to CD\DVD.

2. Save and Exit and the computer will restart. An option like "Press any key to boot from CD will be displayed on your screen.... " Press any key.... After sometime the windows Installation Menu will appear.. Select your option (which is not important... I mean any option can be selected..") and click next...


3. Click 'Repair my Computer'
At the prompt to select your OS installation, click the button that says 'Load Drivers'. This should bring up a explorer-style drive browser.

Then just right-click on the drive you tried to compress, and deselect 'Compress this Drive', which should still be ticked on. Hit apply, and apply to subfolders/files. Usually it must be the C:\ drive.. You can go to your C:\ drive by clicking on My Computer or Computer... Once the C:\ drive is displayed.. Right click on it.. Select Properties.. and then Uncheck "Compress this drive to save disk space" & Reboot.

Your Problem should resolve!!!!

Sunday, March 13, 2011

How To Post (Share) Pirate Bay Torrent Links in Facebook with your friends...

As everyone of us who have tried this know that fucking Facebook doesn't allow us to share torrent links from Pirate Bay.. so here's something I found a few moments ago... 

I just discovered this solution a few moments ago. Not sure till when it shall work, but for sure it shall till the time FB discovers this little hack... ;-)

1. First visit http://goo.gl/ Then shorten your Pirate Bay links as shown below:


                                                            Click on the image for Maginifcation


2. Now visit http://tinyurl.com/
and shorten the above url you shortened using http://goo.gl/ Example shown below!


Monday, February 21, 2011

Youtube or any website Not Loading Properly :: Flush your DNS

Today something queer happened around evening time while I was trying to access youtube. Through out the day I was able to access YouTube as usual, as normal, without any error. But around evening time whenever I tried to access YouTube particularly from my Mozilla Firefox 3+, the website was loading but without any CSS. In the sense, YouTube was loading but without any design. I was still able to watch videos, but everything from the YouTube video player, related videos, recommended videos, comment box etc were being displayed in a very distorted manner. The problem existed even till now.

And just now I came up with the solution. While trying to work with my website, I was trying some DNS & network related commands, during which I tried this solutions.

1. Press the Window Key + R (the key with the Windows Logo) also called the Command key or open the Run Dialog Box.

2. In the Run Box type >>> cmd or command and press enter.

3. One inside the DOS interface type ipconfig/dnsflush. 

This should resolve your problem.

To know about "dns flush" you can Google or visit this link: http://www.tech-faq.com/how-to-flush-dns.html

Tuesday, February 15, 2011

Drupal VS Joomla & The Top 10 CMS [[review]]


A question I've asked myself umpteen number of times and I am sure like me, many of you, who have just begun to foray their hands into the Content Management Territory (CMS) have been hammered by this question time and again. & yet we hardly arrive at the right answer. But I guess today I've bumped across some articles that are nothing less than a gem. They helped me clarify my queries, doubts and apprehension to a large extent.

So, the gems that I've been talking of so much are listed below and not necessarily in any ranking or order. So, what you waiting for.. go sneak in...

  1. Joomla! Vs Drupal 
  2. Joomla! Vs Drupal 
  3. Joomla! vs. Drupal cms for enterprise web development:  
  4. Top 10 CMS Comparison


Sunday, February 13, 2011

How to Download .swf (SWF) Files from your browser?

This is quite a simple solution. Please use Mozilla Firefox because with Firefox it's the most easiest implementing this.

1. Open the webpage containg the ".swf file." Example >> http://www.example.com/video.swf

2. Goto  File in the Firefox Menu and Select "Save Page As"  and save the .swf file to your desired location.

3. You can also simply use the Shortcut Key "Ctrl+S" while in your browser.

Unable to Access Blogger, Blogspot, Blog not Opening, DNS Error



Two days ago I faced a queer problem that I'd never faced in my whole 2 years+ experience of blogspot. Every time I entered my "blog-url" in my Firefox I would get the following errors:

"Problem loading Page....
Server not found
Firefox can't find the server at abc.blogspot.com............"

I freaked out ... WTF??? .. I even posted on my FB wall ... "Surprised to know that even a Service Provider like Google could experience downtime....." A chilling thought even ran into my mind ~ "Had Google blocked my blog?"

But after some "googling" and waiting I found out ~ All My Guesses Were Simply Wrong!!!! The problem had nothing to do with Google | Blogger. The problem lied with my ISP and the Dynamic IP assigned to me by my ISP (Internet Service Provider."

How I figured out the flaw was from my ISP and NOT Google?

I simply visited http://proxy.org/ and accessed my blog and Voila!!! I could access my blog quite conveniently. Then I called up my friend who works for IBM and asked him to check as to whether he could access my blog(s) from his home-computer. And again, YESsss he could. Again I used an IP changer software, which creates a "dummy IP" to conceal your IP. Here I changed my IP to Plano, Texas, US and again I could access my blog.

Now with all these test I became sure of the possible problem and it had nothing to do with Blogger | Google. The problem was with nobody but my ISP.

What can|should you do NOW?

How to Change your Facebook (FB) Relationship Status without letting your Friends know about it?

Sometimes you might have been or will be in a situation, where you would want to Change your Facebook Relationship Status, without letting your friends know a thing about it. In the sense, you wouldn't want "your status change" to be displayed in the Facebook's Newsfeed where all your friends will view it. 

So how do you go about it? Very Simple.... By following a simple trick (that I myself have tested & tried) you can easily achieve that ;-)

1. Hover your mouse over the Account Tab & Click On Privacy Settings. 
2. Now at the bottom of your page click on Customise settings
3. On the right side of Relationships you can see a tab which might read as (Everyone, Friends of Friends etc) depending upon what you'd selected previously. Click on that Tab and Select >>> Customize
4. A box called Custom Privacy will open. 
5. On the "Make this visible to" option; Select "only me" and finally Click on "Save Setting."

Now you can change your relationship status to the status of your choice.

Once you've made the required relationship status change, follow the steps above and in the Visible section >>> Select >>> "Make these visible to: friends, friends of friends" depending on your choice.

Friday, February 11, 2011

One of the Best and yet Free Registry Editor viz CCleaner [[Download Now]]

I've seen many crap registry editor software(s) who advertise as FREE but charge you after allowing a demo-run.  But this one tool which I am going to write about now uniquely stands out from the crowd. It's christened "CCleaner."

So what exactly is the Windows Registry? What best to look for the answer than in Wikipedia.

The Microsoft Computer Dictionary, Fifth Edition, defines the registry as:

"A central hierarchical database used in Microsoft Windows 98, Windows CE, Windows NT, and Windows 2000 used to store information that is necessary to configure the system for one or more users, applications and hardware devices."



In layman terms, by taking care, good care of your Windows Registry, the performance speed of your computer is optimized. Now isn't that just the thing everyone wants!

Also with the "CCleaner you can do various cools stuffs such as:

Thursday, February 10, 2011

How to Measure the Temperature of your computer (PC) | laptop and Check your Computer System Configuration?


Click on the image to Enlarge

With the help of this simple software you can easily check and monitor the speed of your computer, PC or laptop.  Just visit this link  Speccy Temperature Monitor Software and and download this cool software and your problem is solved.

Not just will you be able to monitor your computer's temperature but also know when your system has surpassed the normal heat threshold.  If you computer is over heating the temperature will be displayed in a red color; in that case if you are using a device like laptop-cooler you can simply turn it ON!

Also with this awesome software you will be able to check most of your cool system details like:
  1. A Summary of all the Important Details about your Computer
  2. Operating System Details with the Date you first Installed it
  3. CPU (Processor) Details
  4. RAM Details
  5. Motherboard Details
  6. Graphics Card Details
  7. Hard Drives Details
  8. Optical Drives Details
  9. Audio (Sound Card) Details

Please provide a link back to this blog if you are making using of this article.


Tuesday, February 8, 2011

Why you should use Microsoft Security Essential?



I've used many anti-virus(s) over the years gone by ranging from McAfee, Eset Nod32, Kaspersky etc.. Few months back I became aware of this awesome, cool anti-virus provided by Microsoft christened Microsoft Security Essentials and surprisingly all for FREE!!! Yeah, get that RIGHT... it's all free... provided you own a Genuine Microsoft Windows XP, Vista, 7 (32 bit | 64 bit) software or you have this version of Microsoft Windows 7 http://soluzione08.blogspot.com/2011/02/windows-activation-technologies.html

Once you start using Microsoft Essential you'll be saving your time and money and experience many other good things:

1. *Free so no need to look for crack, hacks and keygens.
2. No need to Renew your Subscription yearly
3. Quite light and so won't Put much load on your system "enhancing your computer usage experience."


& lots more .. so what you waiting for.. get a copy of your Security Essential right here.. Download Security Essential


Note: Remember to download the right version of the anti virus (32 or 64 bit) depending on your Operating System!



Windows Activation Technologies, Deativate, Hack, Bypass

 Well this is not exactly a hack or a crack to be specific & clear. It's just a simple way to bypass the WAT or commonly known as Windows Activation Technology and use Windows 7.

If you possess a copy of Windows 7 (32 bit or 64 bit), during the Installation Process, you are asked whether you would like to Enable Automatic Update or not? Simply Select "Never Check for Updates" and continue with your installation and finish it.

Once done with the installation  Click on the Start Button and on the Search Box that appears type Update. Now click on Check for updates. 

A new Window should open and just below the Heading "Important Updates" Select the option "Check for updates but let me choose whether to download and install them."

Click OK.

Now click on Check Updates.

Once the Update has been Checked ... Select all the Files to download ... EXCEPT!!! this update file>>>  Windows 7 (KB971033)

That should Solve Matters for You.. :))


How to Use Facebook Images, Pictures, Pics in your Blog | Website

Today I will show you how you can use your Facebook Picture, Images, Pics... that you or your friends have uploaded on Facebook. In fact you can link any image that's posted on Facebook by following this small and simple step(s).This applies to any images in any websites provided they have given you the permission to share the images (so watch out on that)

Note >>> Click on the Image to Enlarge it!

 For Mozilla Firefox:

Step #1. Open  the image of your choice and place your mouse pointer on Top of the Image of your choice...


Step #2:  Now, Right Click on your mouse & Left Click on your Mouse on View Image. 



Step #3: You will be redirected to a new page now. Now copy the URL displayed on your address bar. Follow the further instructions shown on the image below: 



For Google Chrome:

1. Place your mouse pointer on top of the image of your choice.

2. Right Click and Select open Image in New Tab.

3. Copy the URL of the image that has Opened in the New Tab

Sunday, February 6, 2011

How to Change Relationship Status in New Facebook?

Since the past couple of days I've been trying to change my relationship status on Facebook, but to no avail. I found the new Facebook Profile more confusing than simple. Nevertheless after trying a few things here and there I eventually arrived at the solution.

Follow the steps below explained in details with the Images and have fun. :)) Don't forget to Click on the Image to have a Magnified View...

 Step #1:  After logging into your account "Click on the Profile Tab"



Step #2: Click on Edit Profile Tab


Top Magento Hosting:

Top 5 Posts (Weekly)

Lets Connect: