Go Back   Pligg CMS Forum > Pligg Help > Installation and Upgrade Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-23-2008, 12:00 PM
hotsitez's Avatar
Casual Pligger
Pligg Version: 9.x
 
Join Date: Jun 2007
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
$50 USD Paid for Bug Fix

Anyone interested in making $50 for a Bug Fix - please go to:

Using Search Method 4 - Tags will not work


ChuckRoast has already posted some comments / leads in developing a fix for this issue. If you can develop a Bug Fix I will pay you $50 (via PayPal, GoogleCheckout, etc)

Go to the above post to get involved or PM me directly.

Thanks
__________________
I Love Open Source Projects!
Reply With Quote
  #2 (permalink)  
Old 06-23-2008, 02:29 PM
chuckroast's Avatar
Pligg Developer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,219
Thanks: 163
Thanked 425 Times in 264 Posts
I think I fixed this.. There are 2 parts.. one for the sidebar tags and another for the story tags.
Please note: this will only effect people using search method #4
First
Open yoursite/templates/yourtemplate/sidebar_modules/tags.tpl

Find
Code:
 <a href="{$tag_url[customer]}">{$tag_name[customer]}</a>
Replace it with

Code:
 <a href="{$my_base_url}{$my_pligg_base}/search.php?q={$tag_name[customer]}++&sa=Go&sitesearch=http%3A%2F%2F{$my_base_url}{$my_pligg_base}&flav=0002&client=pub-7688534628068296&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A11&hl=en">{$tag_name[customer]}</a>
Don't forget to replace the Google Publishers ID with your own

Next open yoursite/templates/yourtemplate/link_summary.tpl
Find
Code:
{if $enable_tags eq 'true'}
                {if $tags ne ''}
                    | 
                    <span id="ls_tags-{$link_shakebox_index}"><b><a href="{$URL_tagcloud}" title="Tags" style='text-decoration: none;'>{#PLIGG_Visual_Tags_Link_Summary#}</a></b>: 
                    {section name=thistag loop=$tag_array}
                        <a href="{$tags_url_array[thistag]}" style='text-decoration: none;'>{$tag_array[thistag]}</a>
                    {/section}
                    </span> 
                {/if}
            {/if}
Replace it with
Code:
{if $enable_tags eq 'true'}
{if $tags ne ''}
                    | 
                    <span id="ls_tags-{$link_shakebox_index}"><b><a href="{$URL_tagcloud}" title="Tags" style='text-decoration: none;'>{#PLIGG_Visual_Tags_Link_Summary#}</a></b>: 
                    {section name=thistag loop=$tag_array}
                        <a href="{$my_base_url}{$my_pligg_base}/search.php?q={$tags_url_array[thistag]}++&sa=Go&sitesearch=http%3A%2F%2F{$my_base_url}{$my_pligg_base}&flav=0002&client=pub-7688534628068296&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A11&hl=en" style='text-decoration: none;'>{$tag_array[thistag]}</a>
                    {/section}
                    </span> 
                {/if}
            {/if}
Once again don't forget to change your Google publishers ID..

Let me know how that works..
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #3 (permalink)  
Old 06-24-2008, 11:41 AM
hotsitez's Avatar
Casual Pligger
Pligg Version: 9.x
 
Join Date: Jun 2007
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
ChuckRoast -

Okay now we are showing some signs of progress - I am getting a site results error, clicking on the sidebar tags (but that is good - beter than the blank page it was showing).
No change in the Main TagCloud Page, but we have not modified any code for that, so I will try to apply that. I have some time this morning, so I will work on this and report back any progress.

Thanks
__________________
I Love Open Source Projects!
Reply With Quote
  #4 (permalink)  
Old 06-24-2008, 11:46 AM
chuckroast's Avatar
Pligg Developer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,219
Thanks: 163
Thanked 425 Times in 264 Posts
Another thing to remember is that once these changes are applied you will have to wait until Google re-indexes the site again for any results to appear.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #5 (permalink)  
Old 06-24-2008, 05:33 PM
chuckroast's Avatar
Pligg Developer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,219
Thanks: 163
Thanked 425 Times in 264 Posts
For the Tag Cloud page just open
yoursite/yourtemplate/ tag_cloud.tpl
Find the following

Code:
<span style="font-size: {$tag_size[customer]}pt"><a href="{$tag_url[customer]}">{$tag_name[customer]}</a></span>&nbsp;&nbsp;
Replace with

Code:
<span style="font-size: {$tag_size[customer]}pt"><a href="{$my_base_url}{$my_pligg_base}/search.php?q={$tag_name[customer]}++&sa=Go&sitesearch=http%3A%2F%2F{$my_base_url}{$my_pligg_base}&flav=0002&client=pub-7688534628068296&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A11&hl=en">{$tag_name[customer]}</a></span>&nbsp;&nbsp;
Once again, don't forget to change your Google publisher ID
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #6 (permalink)  
Old 06-24-2008, 11:44 PM
hotsitez's Avatar
Casual Pligger
Pligg Version: 9.x
 
Join Date: Jun 2007
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
ChuckRoast -

No no issue with Google indexing - the sames search term and tag should and now does show correct results. I go it all going so, there where a few minor variations of the codes you posted. little changes to get it all to work - I will post the full SOLVED solution in the morning - for the moment my eyes are crossed and I need some sleep.

ChuckRoast - PM me so I can send you some money :)
__________________
I Love Open Source Projects!
Reply With Quote
  #7 (permalink)  
Old 06-25-2008, 12:07 AM
chuckroast's Avatar
Pligg Developer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,219
Thanks: 163
Thanked 425 Times in 264 Posts
Quote:
Originally Posted by hotsitez View Post
ChuckRoast - PM me so I can send you some money :)
My private messaging here on the forum has been broken for some time now. I was getting a zillion messages a day.

Anyway if you would like to make a donation to me, feel free to use the Paypal donation link on PliggSites.com :)
Glad to hear you got it fixed.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Suggestion: Please Separate the paid and free mods/templates catchpen Suggestions 6 06-05-2008 04:42 AM
Paid Installation required frostfire Installation and Upgrade Help 1 02-16-2007 11:48 AM
Looking for PLIGG installation + template + some more features (paid work) m12345 Installation and Upgrade Help 3 05-31-2006 03:27 AM


Search Engine Friendly URLs by vBSEO 3.2.0