Jump to content

Grandioso

Members
  • Posts

    98
  • Joined

  • Last visited

Everything posted by Grandioso

  1. I'll be building a website - probably creating a custom Wordpress theme + plugins. I want the users to be able to log in with any of the 3 mentioned platforms (and will be automatically signed in when they're signed in to G/FB/Tw). The users will then be able to customize their feed - the posts they will see on the website, in the email feed (if activated) and through RSS - using categories and tags. They will have 3 options for each tag/category - favorite (posts will stay on top and will somehow be highlighted), subscribe and ignore (these won't show up in their feed). I'm kinda confused, because I've never worked with logins through social platforms and neither did I create wordpress themes. So... Can I do it in wordpress or should I look for another CMS ? Can you please throw at me some tutorials which you think will be useful ? Especially with the filtering and logins. Thanks.
  2. So here's a little useless decorative, but cool feature I imagine for my website. I want to build a simple website with only one page and a couple of paragraphs. There will be a floating vertical "navigation" on the side - only images, one for each paragraph (these will be linked to the paragraph and smoothscroll to it when clicked. I want to put some kind of indicator next to this navigation that will show where exactly on the page the user is - it will move along the images as the user scrolls. It would be awesome if the user could grab it and scroll the page with it, but that's not necessary. How I imagine it: the script first checks the height of the window it is displayed in (lets call this h). It divides the height of the navigation (it's probably a fix 400px) with h to get the ratio ® and it draws a line from the top of the navig to r and is ready to move as the user scrolls. It needs to work on smartphone browsers as well, so it should respond to changes in window size appropriately. The indicator should be just a simple "line" - a few pixels wide, preferably with rounded corners. Maybe a floating div element ? Is there such a thing out there for me to use, or do I need to program it myself ? It would be great if there was a jQuery plugin that could do this.
  3. The scripts will only run on one server, I was just asking out of curiosity. Thanks for the help. I think I'll need to check some AJAX tutorials, because I have no idea where to start. Currently I was thinking about doing it like this: The form will be handled by another script, which will display the names of all tests and put a thick next to the ones that have succeeded. The test will be assigned some ID and a row in the database. The script will update the database record after each test. The page will check this database every second and update the content.
  4. Hey guys. I'll be doing a frontend for some router testing scripts and I'll need to launch some shell scripts in php. The user will be allowed to check some checkboxes - choose which tests to run and run them using a button. I want to show them some kind of "Testing in progress" string and then show them the result when it's done. What do you think is the best solution ? I was thinking the shell script should create the whole output in some sensible form and then I would just parse it. Should I use a database for storing the error strings, or do you think they should be a part of the script ? Also, I would like to do it with AJAX (I never did it before and I could use some experience). So I need some advice on this. I want the form to disappear after the button was pressed, replace it with the "testing in progress" string (or maybe a temporary popup window would be better) and then if the script is done, display the result. I guess I need to use the shell_exec command. What would you suggest ? btw I guess there is no way to run a script on a different server than one which runs the webpage, is there ?
  5. I just launched a blog recently and added FB:comments on it. The comments work fine, but when I get a new comment notification on facebook and I click on it, I get to the homepage instead of the post that has been commented. All my links are like this : http://jibberish.grandioso.org/post/post-name/ But when I click on a notification, it wants to go to http://jibberish.grandioso.org/post/post-name/?ref=notif&notif_t=open_graph_comment and this just doesn't work. Maybe because there's a question mark after the slash. Ideally, I would like to remove the ?ref=notif&notif_t=open_graph_comment part, better yet, replace it with #comments. So what I did is this: RewriteRule ^(.*)\?ref=notif&notif_t=open_graph_comment$ index.php/$1 [R=301,L] And a million similar lines, but it doesn't work at all. I use CodeIgniter, thus I must redirect to index.php/. Here's the whole .htaccess: RewriteEngine on RewriteRule ^(.*)\?ref=notif&notif_t=open_graph_comment$ index.php/$1 [R=301,L] RewriteCond $1 !^(index\.php|images|robots\.txt|design|javascript) RewriteRule ^(.*)$ index.php/$1
  6. Comment count works. Will post about it on my blog soon
  7. It works now, thanks to this tut. Now I'm trying to figure out how to get the comments count.
  8. Where should I ask if not here ?
  9. It simply doesn't show up and I have no idea why. I followed this tutorial - I downloaded the cross-domain receiver file, saved it to my root, inserted both the namespace in the html tag and the sample code with my API key and the path to xdr file. The application is here (just click on a post and it should be there - under the post text). I tried changing the location of the xdr file, using the secret API key, inserting the first script in the head... nothing seems to work. Does anyone have any idea why ?
  10. Could any1 tell me why is the stupid footer so tall ? Sometimes it's the way it's supposed to be, sometimes it's not.
  11. Image preloading solved. Awaiting more helpful tips.
  12. Could any1 help me with the image preloading issue in Chrome ? If I give the images display:none, then it doesn't preload.
  13. I did the image preloading with CSS, but it looks really f*cked up in Chrome (at least in my version of Ubuntu Chrome) - it displays the "image not found" image near the buttom of the page. Here's how I did it (googled this solution) : I put all the images in a div and applied the following styles: #preloadedImages { position: absolute; overflow: hidden; left: -9999px; top: -9999px; height: 0px; width: 0px; } I also made the header of post to be h2 and put an invisible h1 with the site description in it. And what exactly did you mean with "lots of white space" ? How wide is your window ? It looks a bit weird on my fullHD monitor when on fullscreen, but my browser is always sized down to around 1200px. What do you think should I do about it ?
  14. Thanks ! There's always ever a bunch of people who don't like the font. I only used it for the parts with short text, because it looked really weird in Opera. What do you think I should do with the tag cloud ? What do you mean blurred images ? There's a weird spot where the left/right image and the background meet, but I couldn't get rid of that. Will do. There will be. This is just a preview.
  15. Here is the URL. Check it out and give me some feedback. No hatin' please. I could also use some advice on the search button - I couldn't get rid of that space between the input field and the button. Chrome and FF draw the button lower, Opera displays it higher than the input field, I want it to be right next to it. First I wanted it to be compatible with all browsers, that's why I used so many images instead of CSS3, but then I realised It's harder than I thought. I didn't yet check it in IE, since I'm on Linux.
  16. Should I create all the effects and stuff with jQuery before or after turning my HTML into a WP skin ?
  17. Well then wordpress it is. Thanks, guys.
  18. I'm planning to start my own, very simple blog. I already have the design and now I'm trying to figure out which CMS to choose. A friend of mine kinda introduced me to Joomla and WP and said Drupal was way harder to learn than these 2. I think any other CMS (except writing my own) is outta question, cause I'd like to use one with a big community support. So what I need is : -easily change the look to the one I created -tag cloud (different font size depending on tag usage) -search in post titles and text (comments would be nice but that's not important) -use jQuery as default JS library -integrate with facebook - share button and commenting through FB accounts -RSS feed -some other features like polls, or marking a post as "new" for a given time period would be nice, but I don't really need them And one more question about the "like" feature : do I have to create a FB page for my blog to enable users to like my posts ? Or can it just simply be like "XX likes YY on myBlog" with myBlog being a link to my blog ?
  19. I'm sorry, this was already solved. I had to add "RewriteBase /", that's all
  20. I have 2 subdomains - one for the main site app and one for administration app. Both of these need to work with the same directory - one to upload images and one to read them. So far I have it like this - the main domain is mounted to www_root. In www_root I created a folder for the admin application. The images folder is also directly in www_root. The problem is, I can't upload files through http. So how else can I access a directory that is above the root directory of the current app ? Or should I rather move the images dir to the admin directory ?
  21. I have the same exact .htaccess file with the same exact application on a remote server and on localhost. One works without problems, one gives a "500 internal server error". What it should do is redirect any page ("domain.xx/link/to/page") to "domain.xx/index.php/link/to/page" (CodeIgniter does it this way). The problem is that it redirects everything, so even my css file gets redirected. So I tried to get around this with success on localhost. Here's my .htaccess : RewriteEngine on RewriteCond $1 !^(index\.php|design) RewriteRule ^(.*)$ index.php/$1 [L] Any idea how could I have the same functionality, with a code that works on the remote server or what can cause the problem ?
  22. works like a charm. thanks
  23. I'm pretty sure I posted this in the "help with float numbers in php" thread. Whatever. Can anyone help me with this ?
  24. Sorry for posting here but this isn't worth creating a new thread. How do I make php to convert float to string with a 2 digit precision ? From 9.50 I get 9.5, but I want 9.50.
  25. So I just set a session name before each session_start() call ? //edit > I tried it and it seems like it works. Thank you
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.