[RC] Display posts anywhere 1.2.0RC5

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
acctman
Registered User
Posts: 103
Joined: Thu Feb 09, 2006 5:48 pm

Re: [DEV] Display posts anywhere 1.2.0

Post by acctman » Fri Mar 27, 2009 8:39 pm

lol... i have basic php coding skills and i bet I can tweak the old TopicAnywhere phpbb2 script before post anywhere is released. give me a week guys i'll mess with the old TopicAnywhere

braven112
Registered User
Posts: 37
Joined: Thu Jan 03, 2008 7:51 am

Re: [DEV] Display posts anywhere 1.2.0

Post by braven112 » Tue Apr 28, 2009 8:11 pm

acctman wrote:lol... i have basic php coding skills and i bet I can tweak the old TopicAnywhere phpbb2 script before post anywhere is released. give me a week guys i'll mess with the old TopicAnywhere
Lets see it!

Arkantos Khan
Registered User
Posts: 51
Joined: Wed Jun 29, 2005 5:44 am

Re: [DEV] Display posts anywhere 1.2.0

Post by Arkantos Khan » Tue May 19, 2009 4:01 am

acctman wrote:lol... i have basic php coding skills and i bet I can tweak the old TopicAnywhere phpbb2 script before post anywhere is released. give me a week guys i'll mess with the old TopicAnywhere
That'd be great!!! "TopicsAnywhere" is a must-have mod for phpBB3. I don't understand why nobody has came forward with this issue since the release of phpBB3.

Looking forward to the TopicsAnywhere for phpBB3...

deejay87
Registered User
Posts: 1
Joined: Mon Aug 25, 2008 9:14 pm

Re: [DEV] Display posts anywhere 1.2.0

Post by deejay87 » Tue May 26, 2009 7:13 pm

Hi all,

it's true , very difficult to use over mods or script when you have you topics anywhere, it's easy to use and put in website, do you think one day someone can do the update for phpbb3 ?

Thanks ;)

ges8529
Registered User
Posts: 30
Joined: Thu Apr 29, 2004 1:12 pm

Re: [DEV] Display posts anywhere 1.2.0

Post by ges8529 » Fri Jun 05, 2009 6:59 pm

Code: Select all

<?

// change to the path to your forum
$path = '';

// amount of topics to show
$amount = 6;

// forum ids to NOT show topics forum, separated by commas
$exclude = '';

// ------ no need to edit below ------ //

require_once("{$path}config.php");

$conid = mysql_connect($dbhost, $dbuser, $dbpasswd);
$db    = mysql_select_db($dbname, $conid);

unset($dbpasswd);

$sql_where = 'WHERE `forum_id` > -1 '; 

if($exclude != '') 
{     
    $exclude_forums = explode(',', $exclude); 
    foreach ($exclude_forums as $id) 
    { 
        if ($id > 0) 
        { 
            $sql_where .= ' AND `forum_id` <> ' . trim($id); 
        } 
    } 
} 

$sql = "SELECT `topic_id`, `topic_last_post_id`, `topic_last_post_time`, `topic_last_poster_name`, `topic_title` FROM `{$table_prefix}topics`  {$sql_where} ORDER BY `topic_last_post_time`DESC LIMIT 0, {$amount}";
$result = mysql_query($sql, $conid);
$the_date = date('g:i A M j, Y', $topic['topic_last_post_time']);


$topics_html = '';
while($topic = mysql_fetch_array($result))
{
    $topics_html .= "<p><a target=\"_blank\" href=\"{$path}/forums/viewtopic.php?t={$topic['topic_id']}#p{$topic['topic_last_post_id']}\">{$topic['topic_title']}</a><br>Posted by {$topic['topic_last_poster_name']} at " . date('g:i A o\n D, M j Y', $topic['topic_last_post_time']) . "</p>";
}
mysql_close($conid);

echo $topics_html;
?> 
This is what I'm using; however, I do not want announcements and sticky posts included any more than I want posts pending moderator approval included. Reason being: my boards require that new users post X posts before becoming bona fide users. I know this may seem strict, but I am sick and tired of people's using my boards to redirect to TV networks, celeb buzz, porn, and similar bogus sites. I am also tired of people's posting stuff like, "Hi, I'm in line for blah blah blah, but I need your votes." They do this in spite of the CAPCHA, ToS, and THREE anti-spam questions on the registration page. *Sigh* :roll:

Long story short: when someone clicks the link to a post awaiting approval, they get a message saying the topic does not exist. I want to mitigate that.

Any way to tweak the above code per what I'm looking for would be immensely appreciated. Thanks.

User avatar
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [DEV] Display posts anywhere 1.2.0

Post by marian0810 » Mon Sep 21, 2009 12:01 am

Handyman` wrote:next update should be sometime this month… if all goes well.
At least that's the plan.
Just curious if there's been any progress on this since January?
You and me, time and space. You watch us run!

User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [DEV] Display posts anywhere 1.2.0

Post by Handyman` » Mon Sep 21, 2009 8:24 pm

marian0810 wrote:
Handyman` wrote:next update should be sometime this month… if all goes well.
At least that's the plan.
Just curious if there's been any progress on this since January?
Yes, there has been progress made on it.
I had it on the calendar to finish this month, but I think it's going to be pushed out one more month as some stuff came up - I have to finish it for the project I'm working on as I will (finally) be using it myself with an ACP.
I have the code working nicely on the next version without an ACP, but that doesn't do well for most people.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)

User avatar
jwig
Registered User
Posts: 56
Joined: Mon Dec 05, 2005 4:51 pm
Contact:

Re: [DEV] Display posts anywhere 1.2.0

Post by jwig » Wed Nov 11, 2009 5:05 pm

Hi, put me in line for the notification when this is done- Topics Anywhere was the 2nd most useful mod to my existing 2.0 board (the first being the attachments mod).

So please let me know when it's done.

Thanks!

JWig
Precious and Pleasant Boutique
http://www.PreciousAndPleasant.com
"An Elegant Boutique for Children and Their Mothers"
Free Shipping Code: 412103097

User avatar
Jarode
Registered User
Posts: 48
Joined: Thu Feb 14, 2008 12:20 pm
Contact:

Re: [DEV] Display posts anywhere 1.2.0

Post by Jarode » Sat Nov 14, 2009 10:47 am

It's not for asking for a public release, sorry. :lol:
Just to ask you if this MOD display title OR body of the choosen topics/Posts ?

Thanks
My english is Developement Quality, sorry
MyrmecoFourmis.com : Fourmis

User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [DEV] Display posts anywhere 1.2.0

Post by Handyman` » Thu Nov 19, 2009 4:30 am

Jarode wrote:It's not for asking for a public release, sorry. :lol:
Just to ask you if this MOD display title OR body of the choosen topics/Posts ?

Thanks
Yes.

As for the release, I have it scheduled on the project I'm working on, but there's been a few delays in the project, so this has been pushed back a bit.
Looking like I will get to finishing the ACP in December.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)

User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [RC] Display posts anywhere 1.2.0RC2

Post by Handyman` » Sat Dec 19, 2009 6:55 pm

This MOD has now been updated to 1.2.0RC2

Changelog from 1.2.0B3 to 1.2.0RC1
  1. Completely rewritten (again)
  2. Added all possibilities of forums/topics/posts to display in each instance.
  3. Added more instance options
  4. Added UMIL installer for the database install.
  5. Added simple header for a possible header output/styling on pages outside phpBB.
  6. Included SubSilver2 and Prosilver templates for posts and topics.
  7. Added MOD Version Check file to automatically check for updates through the ACP in your phpBB installation.
Changelog from 1.2.0RC1 to 1.2.0RC2
  1. Fixed incorrect templates.
  2. Fixed missing end div and end span in the templates.
  3. Changed language in the ACP since we're using a dropdown instead of the old 0, 1 system
  4. Fixed errors in view post_id
  5. Fixed errors in view topic_id
  6. Fixed switched dropdown menus in the ACP
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)

User avatar
marian0810
Former Team Member
Posts: 3011
Joined: Mon May 21, 2007 9:17 pm
Location: The Netherlands
Name: Marian
Contact:

Re: [RC] Display posts anywhere 1.2.0RC2

Post by marian0810 » Sat Dec 19, 2009 8:56 pm

Nice :D When will it be available for everyone?
You and me, time and space. You watch us run!

User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [RC] Display posts anywhere 1.2.0RC4

Post by Handyman` » Fri Jan 01, 2010 10:25 pm

This MOD has now been updated to 1.2.0RC4 (1/1/2009)

1.2.0RC3 (12/30/2009)
Changelog from 1.2.0RC2 to 1.2.0RC3
  1. Fixed bug in displaying post author signatures. (Reported by Manik)
Update from 1.2.0RC2
Copy root/includes/posts_anywhere.php to includes/posts_anywhere.php
Copy root/adm/mods/posts_anywhere_mod_version.php to adm/mods/posts_anywhere_mod_version.php


1.2.0RC4 (1/1/2010)
Changelog from 1.2.0RC3 to 1.2.0RC4
  1. Fixed a bug where post authors would show as "Guest" if they didn't have a sesion. (Reported by: Manik)
Update from 1.2.0RC3
Copy root/includes/posts_anywhere.php to includes/posts_anywhere.php
Copy root/adm/mods/posts_anywhere_mod_version.php to adm/mods/posts_anywhere_mod_version.php
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)

User avatar
jwig
Registered User
Posts: 56
Joined: Mon Dec 05, 2005 4:51 pm
Contact:

Re: [RC] Display posts anywhere 1.2.0RC4

Post by jwig » Sun Jan 03, 2010 5:37 am

Hello, I'm having trouble downloading the file... can someone re-post a link to this mod? Thanks!

JWig
Precious and Pleasant Boutique
http://www.PreciousAndPleasant.com
"An Elegant Boutique for Children and Their Mothers"
Free Shipping Code: 412103097

somaring
Registered User
Posts: 5
Joined: Fri Jan 01, 2010 11:45 am

Re: [RC] Display posts anywhere 1.2.0RC4

Post by somaring » Sun Jan 03, 2010 11:05 pm

fantastic !

my main page is made by HTML , is this mod can work with it ? or it is a must that it will be made by php ?

Locked

Return to “[3.0.x] MODs in Development”

Who is online

Users browsing this forum: No registered users and 26 guests

cron