Everything posted by cooper82
-
Login-box - add full page overlay
Hey, I'm using Login-box http://wordpress.org...gins/login-box/, and want to add an overlay so that the rest of the page is dimmed when the login box appears. My javascript lknowledge is pretty limited. This is the code: <?php wp_print_scripts('jquery'); ?> <script type="text/javascript"> var loginbox = { theme: '<?php echo LB_THEME; ?>', key: '<?php echo LB_KEY; ?>', keycode: '[<?php echo ord(strtolower(LB_KEY)) ?>][<?php echo ord(strtoupper(LB_KEY)) ?>]', ctrl: <?php echo LB_CTRL; ?>, backtopage: <?php echo LB_BACKTOPAGE; ?>, fade: <?php echo LB_FADE; ?>, auto: <?php echo LB_AUTO; ?>, string: { close: '<?php _e("close"); ?>' } }; </script> <script type="text/javascript" src="<?php bloginfo('wpurl'); ?>/wp-content/plugins/login-box/login-box-script.js"></script> <?php if (file_exists($scriptfile)): ?> <script type="text/javascript" src="<?php bloginfo('wpurl'); ?>/wp-content/plugins/login-box/<?php echo LB_THEME; ?>/scripts.js"></script> <?php endif; ?> <?php if (file_exists($stylefile)): ?> <link rel="stylesheet" href="<?php bloginfo('wpurl'); ?>/wp-content/plugins/login-box/<?php echo LB_THEME; ?>/style.css" type="text/css" media="screen" /> <?php endif; ?> I thought maybe if I added something like showOverlay: true that would work but it just breaks the overlay altogether. Do I need to add the showOverlay somewhere else also? Any tips appreciated! Cheers
- @font0face in Firefox - not working even though fonts hosted on same domain
-
Javascript Proveit test
Has anyone taken the javascript Proveit test or know where I can find a similar test to practice? Gotta do it for a job! Cheers
- What CMS to learn after Wordpress?
-
What CMS to learn after Wordpress?
Hey, So I want to learn a new CMS. All the sites I've built so far have been in Wordpress which has been adequate for them but I'll like to add another option to my arsenal. What's the best to learn next?? Drupal or Joomla? Or any other suggestions? I don't work on e-commerce sites if that makes any difference. Cheers
-
Overriding embedded style sheets
Hey, Thanks for the replies, think the styles are coming in with the Twitter API? I don't even know if that makes sense! It's an app with a Twitter feed wideget basically....I can't link to the site unfortunately due to restrcitions from the client. I will try !important in the rules and see if this works. Cheers!
-
Overriding embedded style sheets
Hey, I'm working on a site that pulls in Twitter and Facebook feeds. There is an embedded style sheet coming in with the Twitter feed - how do I override this? Adding syles to the style sheet hasn't worked for me. Any suggestions appreciated, Cheers
-
Javascript pop up plugin with window sizing
Hey, I'm looking for a javascript plugin for Wordpress that will give me a pop-up browser window when I click on a video link. I need the option to size the browser window and have it border the video player exactly.... Can anyone recommend plugins? Cheers
-
Full customization of YouTube channel?
Hey, I'm looking to fully customize a YouTube channel but am not really finding any helpful tuts/resources on it. How can I do things like this: My link or even this:My link - ie. push down the content are so there is room for the logo and nav bar. Any tips appreciated, cheers
-
Redirecting users after login?
I can see this code in Firebug: <input id="wp-submit" class="button-primary" type="submit" tabindex="100" value="Log In" name="wp-submit"> <input type="hidden" value="http://www.mysite.com/wp-admin/" name="redirect_to"> <input type="hidden" value="1" name="testcookie"> Is this code that I can get to and edit? So that I could edit the url in "value"?
-
Redirecting users after login?
Hey, Working on a site that has some restricted content that will be available to registered users only. As it is now, when a user logs in they go to their profile page by default...how do I redirect them to a specific url? I am using the Members plugin to set up the roles and user and restrict content. My link Originally I had been using this plugin to redirect after login - My link- but it seems very buggy and I had to do a whole reinstall to delete the plugin settings even after the plugin was deleted. Can anyone suggest a method/plugin for doing this? Cheers
-
Wordpress - Problems deleting plugin settings?
ok I've done that by going to Settings > Permalinks and just clicking 'Save Changes'. Still getting a 404 pg but it has Wordpress styling now but before it had the default page that comes with the hosting if that makes sense
-
Wordpress - Problems deleting plugin settings?
Now when I make a new page, and publish it and click 'View page', I'm getting a 404 error! eek, I think maybe that plugin has totally screwed with my site
-
Wordpress - Problems deleting plugin settings?
Yeah, it's not working. Can only think that maybe it's buried in the database somewhere
-
Wordpress - Problems deleting plugin settings?
The client has insisted the site is kept private until development is finished, so I can't link to it, which doesn't help I know. I really don't want to have to start with a fresh install
-
Wordpress - Problems deleting plugin settings?
thanks Mike, but that didn't work either! this is worrying!
-
Wordpress - Problems deleting plugin settings?
Ok I've done it now and can see lots of hidden files but there's no .htaccess in my original WP download folder?? although I can see one in the WP folder on the server, how does that make sense? Very confused!
-
Wordpress - Problems deleting plugin settings?
trying to get my hidden files to show...I've done the terminal method explained here: My link Do I need to Ctrl + Save as the files aren't showing yet. I'm afraid of breaking something
-
Wordpress - Problems deleting plugin settings?
No, haven't made any changes to .htaccess...
-
Wordpress - Problems deleting plugin settings?
K I tried that Chris but no joy...here's a screengrab of the first page I see when I go into the WP database: My link
-
Wordpress - Problems deleting plugin settings?
that also redirects me to the login page, I could access it through FTP though?...
-
Wordpress - Problems deleting plugin settings?
Hey Mike, yeah I checked the server and the plugin folder was deleted when I deleted it through Wordpress. Problem with the database is I've no idea what I'm looking for and I'm afraid of breaking something, I've never really had to touch the database before, only to back it up...
-
Wordpress - Problems deleting plugin settings?
hey, I installed this plugin My link on my site to redirect different users to different pages after login. However, I wanted the initial landing page to be visible to everyone and then have a link to login as whatever user you are, then you get redirected. Problem is, when I installed and gave 2 roles a page to redirect to, the whole website becomes password protected, like the WP admin login, so no one can see the landing page without logging in. I've deleted the plugin and cleared my cache but I'm still being asked to login to see any content. How do I delete all the settings for the plugin? Do I have to go into the MySQL database and delete something? Any tips appreciated, cheers:)
-
Secure login area/restricted content?
cheers Renaissance-Design, would this one be robust and suitable for a secure area on a site? My link
-
Secure login area/restricted content?
Hey, I'm guessing what I'm asking will be mostly back end/server side so I've posted it here. I do front end development so need a bit of advice on this: I'm working on a site that will have a secure area - so users will need to log in to see certain content ie. like logging into your bank account. The site is built in Wordpress - are there plugins that are adequate/secure enough to do this or is this something that should be hand coded to ensure it's robust? I don't know the first thing about secure sites so any tips would be much appreciated. I've been doing a bit of research, stuff like this: My link - Is this the kind of stuff i need to be looking at? Cheers