whiteatom
Forum Replies Created
-
Forum: Networking WordPress
In reply to: multisite and wp_load_alloptionsOk.. what is your problem? There are a lot of database queries.. but are they causing an error?
If you are having a problem with too man options being loaded.. maybe you have too many plugins?
I’m sorry, but it’s not clear what you want from the community.
whiteatom
Forum: Networking WordPress
In reply to: multi site users editing same theme?The theme is common for all subsites.. But you could write a function in the header to get a logo from the subsite’s uploads folder… WordPress fudges that folder depending on which subsite you are viewing… Maybe if you force a file name and then put a relative link to the uploads directory you could make it work?
Whiteatom
Forum: Networking WordPress
In reply to: multisite and wp_load_alloptionsAre you having a problem or is this a suggestion for improvement?
Forum: Networking WordPress
In reply to: Function Reference / add_role()You’ll need to write a simple plugin and have the add_role part of the activation script. Then you can remove the plugin. If you add it to your themes functions file or anywhere else, it will get called over and over.
To make it the default, go to the settings tab in the edit site page of the network admin? About 40 options down, you’ll see Default Role… Enter the slug for your new role.
Cheers,
whiteatom
Forum: Networking WordPress
In reply to: How available a plugin(active or inactive) just for super admin?I’m not sure what you are asking…. Do you want to restrict access to a plugin to super admins only?
Forum: Fixing WordPress
In reply to: How to connect to MSSQL via connection string?I don’t believe you can use Ms SQL… You might be able to find a fork with an abstraction layer that could be made to work… But I’m pretty sure your outta luck on out-of-the-box WordPress…
Forum: Fixing WordPress
In reply to: wordpress wont let me loginYou’ll have to reset your admin password at the database if you don’t know what it is.
whiteatom
Forum: Fixing WordPress
In reply to: how to achieve this ?This is done with JavaScript… Probably jquery. Jquery is included in the WP admin for things like the image uploader, but if this is a WP site… It’s very customized.
whiteatom
Forum: Fixing WordPress
In reply to: Noob needs help: Admin for a single page possible?This is easy with a multi-site. You can create a sub-site with its own Admin or editors at yoursite.com/subsite. Look into enabling multi site.
Whiteatom
Forum: Fixing WordPress
In reply to: Permissions on MediaWow… 10 hours = 3rd page… Bump.
Forum: Fixing WordPress
In reply to: Login redirects back to loginThis problem is usually caused by the siteurl or the home option in the database not being correct.
If you have access to your MySQL server, check the wp_options table and search for option_name = siteurl and then search for option_name = home and make sure both of them are set to the full address of your site.
I had this issue when my site was at https://www.mysite.com and this was set to https://mysite.com.
You can also manually disable all plugins by setting the option “active_plugins” to “” (a blank string) and it may help.
whiteatom
Forum: Fixing WordPress
In reply to: My site is ranked high in google, but no traffic.Yeah… this is an SEO issue, not a WordPress issue. Are you using analytics to get a good idea of who is coming to your site? or are you using your host’s web stats. You’ll find google analytics a lost more useful in diagnosing traffic issues.
whiteatom
Forum: Fixing WordPress
In reply to: Checking if the User is AdminOne more thing.. if you are using more than one PHP command they can all be included in the same <?php ?> bracket set.
Happy Coding…
whiteatom
Forum: Fixing WordPress
In reply to: Checking if the User is AdminYeah.. is_admin() checks if you’re on an admin page.
Try
<?php if (current_user_can( 'manage_options' )) { include('adsense.php'); } ?>
This allows you to choose any role by checking if the current_user_can do any particular task. Check the table at the bottom of this link and you’ll be able to pick any role by selecting a capability that the role you want can do, but not the roles below.
Forum: Fixing WordPress
In reply to: WYSIWG / CSSExact same issue.. anyone know where that version number is coming from?