This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
361
The Pub / Re: Documentary Videos
« on December 5th, 2012, 11:24 AM »
Probably hosting here on wedge.org is the best thing. No one will search for wedge on YouTube, if they're going to search for wedge they would do that on google and end up here :)
362
Off-topic / Re: Play the Alpha version of a RTS space game
« on December 4th, 2012, 09:48 AM »
Anyway I downloaded the game but the green bar (that should represent the progress of some download of other files I presume) doesn't finish and I can't play.
363
The Pub / Re: Troubles during installation
« on December 1st, 2012, 02:34 PM »
It's not according toQuote from Nao on November 7th, 2012, 12:42 AM
Folder perms should be 0755, not 755.
File perms should be 0644.
Or maybe it's the other way around... But don't forget the 0 which indicates it's an octal number. Otherwise your permissions will fail.
364
Off-topic / Re: Need help with my Interwebs connection
« on November 29th, 2012, 12:39 PM »
Uhm, TcpMaxHalfOpen connection limit?
365
Off-topic / Re: Help with PHP syntax
« on November 19th, 2012, 11:08 PM »
You mean this? I thought there was a nicer/faster method..
Code: [Select]
<?php
if (isset($_GET['t']) && $_GET['t'] == md5($_SERVER['REMOTE_ADDR'])) {
get_header();
echo '
<section id="primary">
<div id="content" role="main">
';
$my_query = new WP_Query( 'page_id=1788' );
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate2[] = $post->ID;
echo '<div class="textwidget" style="color:#707070">
<h3 class="widget-title">';
the_title();
echo '</h3>';
the_content();
echo '</div>';
endwhile;
if ( have_posts() ) :
echo '<header class="page-header" style="display:none">
<h1 class="page-title">';
printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
echo '</h1>';
$category_description = category_description();
if ( ! empty( $category_description ) )
echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' );
echo '</header>';
while ( have_posts() ) : the_post();
get_template_part( 'content', get_post_format() );
endwhile;
twentyeleven_content_nav( 'nav-below' );
echo '<p class="navigation">';
posts_nav_link(' - ', '« Pagina Precedente', 'Pagina Successiva »');
else :
echo '<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title">';
_e( 'Nothing Found', 'twentyeleven' );
echo '</h1></header><div class="entry-content">
<p>';
_e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' );
echo '</p>';
get_search_form();
echo '</div></article>';
endif;
echo '</div></section>';
get_sidebar();
get_footer();
}
else echo 'Please go back to page1';
?>
366
Off-topic / Re: Help with PHP syntax
« on November 19th, 2012, 10:55 PM »* Arantor doesn't understand what you're trying to do.
I need to protect page2.php so that it's only accessible by the link on page1.php (not directly).
The 2 snippets on the first post work just fine.
The problem is that instead of having the text "You've gone through the hoops" shown if user access page2 from page1 (correct behavior) I need to run this code: http://pastebin.com/XQdw64hB
367
Off-topic / Help with PHP syntax
« on November 19th, 2012, 10:30 PM »
So, this is a link I have on a page (page1.php):
Code: [Select]
On page2.php I have something like this:
Code: [Select]
It works perfectly (displays "You've gone through the hoops" only if users passes through page1). The problem is that instead of that line of text I should display a complex page (mixed php and html): http://pastebin.com/XQdw64hB
How can I insert that page within that if (isset($_GET['t']) && $_GET['t'] ..?
P.S.: don't blame me for $_GET being spoof-able.. informations in page2 aren't state secrets.. no one would be interested in spoofing it! :D
<a href="page2.php?t=<?php echo md5($_SERVER['REMOTE_ADDR']); ?>">Click here</a>On page2.php I have something like this:
<?php
if (isset($_GET['t']) && $_GET['t'] == md5($_SERVER['REMOTE_ADDR'])) {
echo 'You\'ve gone through the hoops';
}
else echo 'Please go back to page1';
?>
It works perfectly (displays "You've gone through the hoops" only if users passes through page1). The problem is that instead of that line of text I should display a complex page (mixed php and html): http://pastebin.com/XQdw64hB
How can I insert that page within that if (isset($_GET['t']) && $_GET['t'] ..?
P.S.: don't blame me for $_GET being spoof-able.. informations in page2 aren't state secrets.. no one would be interested in spoofing it! :D
368
The Pub / Re: Infinite Scroll
« on November 17th, 2012, 10:53 AM »I've thought about doing this before - I know emanuele did a mod for SMF, but it screws a lot of things up to implement this generally.
369
The Pub / Infinite Scroll
« on November 17th, 2012, 02:03 AM »
Idea for a plugin (or a theme...): infinite scroll for posts with a fixed small footer (if needed).
Something like http://jetpack.me/support/infinite-scroll/
Example: http://2010dev.wordpress.com/
Something like http://jetpack.me/support/infinite-scroll/
Example: http://2010dev.wordpress.com/
371
Archived fixes / Re: Session writing
« on November 13th, 2012, 06:33 PM »I don't remember what your error was, Lorenzo... Sorry, the side-effects of my own personal burnout if you will.
So, if it's fixed, I don't have any reasons to connect to your FTP then..?
In these days I didn't touch anything but now I don't get that error anymore (I managed to install Wedge too)! Mistery
372
Archived fixes / Re: Session writing
« on November 13th, 2012, 12:15 AM »Nope, didn't do a thing.. You're talking about the session write error message at the bottom, right..?
Now I don't get the error anymore in the install.php page
374
Archived fixes / Re: Session writing
« on November 11th, 2012, 05:14 PM »Do you have this problem on your server btw?
Anyway I can see now that it works, did you change anything? :)
375
Archived fixes / Re: Session writing
« on November 11th, 2012, 01:25 AM »
Nao, from Alwaysdata admin panel you can change the PHP version to run (check if still happens with other versions). ;)