|
|
|||||||
| Register | FAQ | Calendar | Radio and TV | NP Shop | Search | Today's Posts | Mark Forums Read |
| Blogging Forum Blogging Discussion Forum, links and tools. |
![]() |
![]() |
![]() |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#81 (permalink) |
|
I'd rather be Lucky than Good
|
Pam:
When I wrote it, I prob used the wrong variable, or a depreciated variable. If I recall correctly, I had a problem with something similar to this on an unrelated plugin. Let me do some x-digging (ha), and see what I come up with. @X-Digg: when I complete the debugging, I'll send you on a copy. __________________
The Netpond News #32 is LIVE! |
|
|
|
|
|
#82 (permalink) |
|
Those with the biggest egos are insecure
Join Date: Jan 2003
Location: near Cape Cod, Massachusetts
Posts: 9,150
Points: 1,196
|
What's weird is it's fine on 6 or 8 blogs, but the last 5 I tried to add it to gave the error. All use the same version of WP and all pretty much have the same plugins, too!
|
|
|
|
|
|
#83 (permalink) | |
|
I'd rather be Lucky than Good
|
Quote:
Like so: Code:
/**The actual admin page**/
function x_digg_run() {
global $user_level, $x_digg_user_threshold, $x_digg_slug;
get_currentuserinfo(); //add this in to see if it works.
if($x_digg_user_threshold > $user_level){
die('You aren\'t allowed to do that, dave.');
}
__________________
The Netpond News #32 is LIVE! |
|
|
|
|
|
|
#85 (permalink) |
|
I'd rather be Lucky than Good
|
okay, for debugging purposes, select one of the blogs that isn't working.
find: PHP Code:
PHP Code:
__________________
The Netpond News #32 is LIVE! |
|
|
|
|
|
#86 (permalink) |
|
Those with the biggest egos are insecure
Join Date: Jan 2003
Location: near Cape Cod, Massachusetts
Posts: 9,150
Points: 1,196
|
Bingo
Your current user level is insufficient to do that. Current User Level: 0 Which makes no sense since I'm the admin and the only one with access to these blogs |
|
|
|
|
|
#87 (permalink) |
|
I'd rather be Lucky than Good
|
Crud, I forgot to ask: are you using WP-MU installs?
__________________
The Netpond News #32 is LIVE! |
|
|
|
|
|
#88 (permalink) |
|
I'd rather be Lucky than Good
|
I'm obviously being a nonce and missing something obvious. The below code checks to see if the $userdata object has been created, then prints out its properties. If you are comfortable, run that and paste the results in here.
PHP Code:
__________________
The Netpond News #32 is LIVE! |
|
|
|
|
|
#89 (permalink) |
|
I'd rather be Lucky than Good
|
If the above code actually prints something a string of weird variables, then replace the old code with the following:
PHP Code:
__________________
The Netpond News #32 is LIVE! Last edited by Lucky Cappuccino : 01-26-2008 at 07:37 PM. Reason: correcting bugs, gdmit! |
|
|
|
|
|
#92 (permalink) |
|
I'd rather be Lucky than Good
|
Okay, we fixed Pam's problems.
For some reason, her original admin account did not properly set the user_level field in the object (and I assume, the db). By simply saving the record again (I believe she changed her password), the system righted itself and the plugin worked for her correctly. This issue may have occurred because of a hiccup during her WordPress installation. If you experience this sort of problem, go to your WordPress admin panel -> Users, click the "edit" link associated with the account, and click the "Update User" button to update the record. If that does not work for you, please reply in this thread so someone can solve your issue. I will be sending an updated plugin which addresses code readability to x-digg in a few days. If any of you have additional issues, please post them here so they can be addressed. __________________
The Netpond News #32 is LIVE! |
|
|
|
|
|
#93 (permalink) |
|
Those with the biggest egos are insecure
Join Date: Jan 2003
Location: near Cape Cod, Massachusetts
Posts: 9,150
Points: 1,196
|
Thanks to Lucky for figuring out what this was ... as soon as I logged in with a new password, everything was fine. Weird error, weirder than being called Dave
![]() |
|
|
|
|
|
#94 (permalink) |
|
X-Digg.com Support Staff
Join Date: Dec 2007
Location: Quebec, Canada
Posts: 172
Points: 660
|
Lucky -
Thank you for the assistance!! Lucky is actually the creator of the X-Vote Plugin for X-Digg - so I knew he would be the one to figure the issues out! Pam I am very happy you are now underway! X-Digg will have a major server and site update on Wed. 1/30/08 from 7am to 10am EST - we will be closing submissions during this time. Hopefully we will not be down the full time, but there may be intermittent issues. It will also be posted on the site header of the site as a reminder - starting tomorrow. This maintenance will allow for more features, and even more continual growth for X-Digg. Also I will be making a separate post tomorrow, I have obtained several discounted text link ads, and a few banner spots for adult webmasters. so Stay Tuned on the board tomorrow. Jerry Martine - Support Staff X-DIGG.COM ENTERPRISES INC. |
|
|
|
|
|
#96 (permalink) |
|
X-Digg.com Support Staff
Join Date: Dec 2007
Location: Quebec, Canada
Posts: 172
Points: 660
|
Hello All -
Just an update we have improved the "Related Links" tabs on the individual stories pages, so links to stories with similar tags will also appear (giving your stories/links an even better chance of being read). We also have made some updates and code improvement in the recent weeks, to increase load times, and increase site security. If you have not heard, we also purchased a small TGP site, and converted it to a multi-site, adding a Photo Gallery module to X-Digg. While we are still working out some bugs we are hoping to have the Photo Gallery / TGP module completed within the next few weeks. The requested improvements that many of you have been requesting such as a image upload button and the ability to add up to 4 (back) links on your individual profile pages, are also in the final stages of completion. Jerry Martine - Support Staff X-DIGG.COM ENTERPRISES INC. |
|
|
|
|
|
#98 (permalink) | |
|
X-Digg.com Support Staff
Join Date: Dec 2007
Location: Quebec, Canada
Posts: 172
Points: 660
|
Quote:
Great, and if you need any assistance, please just let me know, I am always happy to assist. Jerry Martine - Support Staff X-DIGG.COM ENTERPRISES INC. |
|
|
|
|
|
|
#99 (permalink) |
|
X-Digg.com Support Staff
Join Date: Dec 2007
Location: Quebec, Canada
Posts: 172
Points: 660
|
$10 TEXT ADS on X-DIGG
If anyone is interested in Text Link Ads (30 Day Ads for $10 payable by PayPal or Epassporte) on X-Digg please contact me via PM or via the CONTACT US PAGE on X-Digg. The right side text links will hold 5 text links, and we will only be taking in 20 text link orders. Jerry Martine - Support Staff X-DIGG.COM ENTERPRISES INC. |
|
|
|
|
|
#100 (permalink) |
|
Lets all help Meat find a wife
Join Date: Jan 2008
Posts: 230
Points: 460
|
Dose X-Dig get any gay traffic?
-TJ __________________
From the sticky keyboard of Top Jock Jock Hangout, Adult Gay Jock Blog An Infraction in legal sense (minor offense, minor violation, petty offense, or frequently citation, sometimes used as synonymous with violation, regulatory offense, welfare offense, or contravention) is a "petty" violation of the law less serious than a misdemeanor. |
|
|
|