Go Back   Pligg CMS Forum > Pligg Help > Customization Assistance

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-08-2007, 09:34 AM
fightlinker's Avatar
New Pligger
 
Join Date: Nov 2006
Posts: 27
Thanks: 9
Thanked 0 Times in 0 Posts
Okay, sorry to keep bugging about this ... one last question : If the query in question is only getting pulled when a person visits the profile page of a user, would I be able to stop it by simply deleting the file in pligg that displays that info? I need a quick fix to this issue, my site has been down for 4 days now!
__________________
http://www.fightlinker.com
More MMA news and media than you can handle!
Reply With Quote
  #12 (permalink)  
Old 05-08-2007, 12:11 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,547
Thanks: 254
Thanked 649 Times in 513 Posts
Try removing the code in user_center.tpl under the profile section. It will be something along the lines of "last viewers"
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
The Following User Says Thank You to kbeeveer46 For This Useful Post:
  #13 (permalink)  
Old 05-15-2007, 05:13 AM
New Pligger
 
Join Date: Apr 2007
Posts: 7
Thanks: 0
Thanked 5 Times in 1 Post
delete a whole bunch of pageviews entries....that the problem will be gone....

i've run into this problem a few times........it's the sql statement they send you that is causing the problem....

each time I just delete a whole bunch of pageview entries in the database
__________________
Vist me at TheLostHub.com - Daily LOST tv news

Blobees.com - Share your positivity - Law of Attraction
Reply With Quote
  #14 (permalink)  
Old 08-20-2007, 01:27 PM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
If anyone is still having this problem, a fix will be in the next release, or you can update your copy using the changes listed here. Then run upgrade.php. There will then be a 'PageViews' section in the admin config area.
__________________
- Ash
Reply With Quote
  #15 (permalink)  
Old 08-22-2007, 02:30 AM
Constant Pligger
Pligg Version: 9.7
Pligg Template: Yget
 
Join Date: Nov 2006
Posts: 161
Thanks: 26
Thanked 1 Time in 1 Post
Thanks Ashdigg. I went to the sourceforge repository and here's what I understood. Hope I'm not wrong.

Step1: Download the sourceforge files and replace the templates/yget/user_center.tpl and /user.php files
Step2: Execute the upgrade_config_table.sql on my database
Step3: finally, run upgrade.php?

Hope I got that right? :-/
Reply With Quote
  #16 (permalink)  
Old 08-22-2007, 08:31 AM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
You don't need step 2. That file is for new installs. Other than that you're correct.
__________________
- Ash
Reply With Quote
  #17 (permalink)  
Old 08-22-2007, 01:54 PM
New Pligger
Pligg Version: 9.0
Pligg Template: DN
 
Join Date: Jul 2006
Location: Slovenia
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Hi all.
the same problem happened today with my site

the hosting provider suspended account because of page views load in database.
i am using d-nature template i think 9.0 version
the pageviews table was 15mib big so i delete almost 13 mib and removed lines in user_center.tpl from 280-283 :


Quote:
{#PLIGG_Visual_User_Profile_Last_5_Title#}<br>
{section name=customer loop=$last_viewers_names}
<img src="{$last_viewers_avatar[customer]}" alt="Avatar" align="absmiddle"> <a href = "{$last_viewers_profile[customer]}">{$last_viewers_names[customer]}</a>
{/section}
Im asking is there anything else i can do so that the problems dont happen again.
thanks
Reply With Quote
  #18 (permalink)  
Old 08-23-2007, 03:22 AM
Constant Pligger
Pligg Version: 9.7
Pligg Template: Yget
 
Join Date: Nov 2006
Posts: 161
Thanks: 26
Thanked 1 Time in 1 Post
realest, I have done the following and well, i think it has worked.
Go to the the sourceforge repository that ashdigg talked about. Once there, do the following:

Step1: Download the sourceforge files and replace your current templates/yget/user_center.tpl, and <siteroot>/user.php files.
Step2: Also replace the /install/upgrade.php, under your install folder (i.e. assuming it is stil there.
Step3: Execute /install/upgrade.php

That worked for me and it'd help if the pligg masters confirmed it :)
Reply With Quote
  #19 (permalink)  
Old 08-23-2007, 03:58 AM
New Pligger
Pligg Version: 9.0
Pligg Template: DN
 
Join Date: Jul 2006
Location: Slovenia
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
ow thanks.... i hope it will help because i got suspended again :\ now im waiting for access to ftp again.
and yeah the template is digitalnature and i see that here user_center.tpl file is from yget template, does that matter ?
Reply With Quote
  #20 (permalink)  
Old 08-23-2007, 06:48 AM
Constant Pligger
Pligg Version: 9.7
Pligg Template: Yget
 
Join Date: Nov 2006
Posts: 161
Thanks: 26
Thanked 1 Time in 1 Post
Sorry realist, I have no idea. It shouldn't matter, but please don't take my guess work. As a suggestion, why don't you first create a back up of the user_center.tpl file and test it out? :)
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
Restore Mysql Database from your Backup folder computerbar Modification Tutorials 0 08-22-2008 03:57 PM
Transferring mySQL database phrankle General Help 1 07-15-2008 06:44 PM
Web Host Yankidank Wiki Articles 2 06-26-2008 02:31 PM
Database name, username, password = what?!?! starguy Installation and Upgrade Help 4 06-10-2007 03:29 AM
Installing Pligg on Same MySQL Database as Wordpress Votamli Installation and Upgrade Help 3 05-21-2007 12:18 AM


Search Engine Friendly URLs by vBSEO 3.2.0