|
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.
Messages - jklapp
1
« on: December 18, 2006, 10:34:36 am »
This Simple Blog is just too good to not use just because of those 2 minor problems.
I agree, this is a great program Has anyone figured a way to display recent blogs in a php block?
2
« on: December 09, 2006, 10:55:13 am »
Is there a webmail program that works with SMF? Thanks
3
« on: November 11, 2006, 11:38:55 am »
That is strange Maybe someone could look for his e-mail address and check in on him?
4
« on: November 07, 2006, 01:02:08 pm »
Looks like I spoke to soon I run Enigma 2.0 (RC1) and when I put the code below in a custom block it displayed the recent blogs... But then I noticed it only displays the recent blogs in the block when either viewing a blog or when viewing the forum main page... They do not display anywhere else? echo '<div class="blogtitlebg">' . $txt['recent_blog'] . '</div><br />';
foreach ($context['blog'] AS $blogs) { if ($blogs['hide_entry'] == '1' || $blogs['hide_entry'] == '2' && $u == $ID_MEMBER) { echo '<div class="smalltext"> <a href="', $scripturl, '?action=viewblog;u=' . $blogs['ID_MEMBER'] . ';id=' . $blogs['ID_BLOG'] . '" ><b>' . $blogs['subject'] . '</b></a> by <a href="', $scripturl ,'?action=profile;u=', $blogs['ID_MEMBER'] ,'">' . $blogs['realName'] .'</a></div>'; echo '<div class="smalltext">' .$blogs['date'] .'</div><br />'; } }
5
« on: November 06, 2006, 01:21:30 pm »
Is there a way to put the most recent blogs link (like the one in the Forum Info Center) in a block?
Thanks
in the top of your custom php file( if you want to show it siomewhereelse or in a sidbar of your site <?php require("/yourhome/xxxxx/public_html/your forumdir/SSI.php"); ?>
///then somewhere in your file.
<?php //Begin Simple Blog Mod (display recent blogs)
echo '<div class="blogtitlebg">' . $txt['recent_blog'] . '</div><br />';
foreach ($context['blog'] AS $blogs) { if ($blogs['hide_entry'] == '1' || $blogs['hide_entry'] == '2' && $u == $ID_MEMBER) { echo '<div class="smalltext"> <a href="', $scripturl, '?action=viewblog;u=' . $blogs['ID_MEMBER'] . ';id=' . $blogs['ID_BLOG'] . '" ><b>' . $blogs['subject'] . '</b></a> by <a href="', $scripturl ,'?action=profile;u=', $blogs['ID_MEMBER'] ,'">' . $blogs['realName'] .'</a></div>'; echo '<div class="smalltext">' .$blogs['date'] .'</div><br />'; } }
//End Simple Blog Mod (display recent blogs)?>
its gonna look abit like this http://www.flyingpighostels.com/forum/index.php?action=viewblog;u=9;id=6
This works great!!! Thank you
6
« on: October 24, 2006, 11:07:45 pm »
Any news regarding the version for SMF 1.0.8. ?
7
« on: October 20, 2006, 12:47:55 pm »
8
« on: October 20, 2006, 11:53:30 am »
Here is a problem I've been manually installing these news games but I've noticed two problem with them. (1) Their not recognizing the person playing the games (this is what is displayed under the game) Highscore for this game: 0 (Guest) (2) After playing a game it tries to go to /newscore.php (there is no such file) So I get a "page cannot be found"
9
« on: October 20, 2006, 10:30:10 am »
I now understand I need to manually install games, but I have a question that would make it easier... There are six fields: Game: Name File: Background color: Width: Height: Two fields already gather information Game: the_game File: the_game.swf The other four don't Name: Background color: Width: Height: It is possible to change the script to automatically input pre-set variables in the other four fields? Example: Name: the_game (same as the Game field) Background color: flash Width: 525 Height: 425 Thank you
10
« on: October 19, 2006, 09:26:25 am »
Is there a way to put the most recent blogs link (like the one in the Forum Info Center) in a block? Thanks
11
« on: October 19, 2006, 02:14:35 am »
Hmmm... I just noticed when viewing a blog (under Recent Blogs) Each recent blog is entered twice?
No more double posts My original sources/simpleblog.php was //Begin Simple Blog Mod (display recent blogs)
$no_of_days = $modSettings['no_of_days_recent_blogs']; $blog_qty = $modSettings['no_of_recent_blogs']; $now = time();//mktime()-($modSettings['time_offset'] * 3600); $last = mktime(0,0,0,date("m"),date("d")-$no_of_days,date("Y"));
//Loop though all the blog entries $dbresult = db_query("SELECT b.ID_BLOG, b.ID_MEMBER, b.blog, b.subject, b.date, m.realName, b.hide_entry, t.value, t.variable FROM {$db_prefix}simple_blog as b, {$db_prefix}members AS m, {$db_prefix}themes AS t WHERE date BETWEEN $last AND $now AND b.ID_MEMBER = m.ID_MEMBER AND variable = 'hide_blog' ORDER BY ID_BLOG DESC LIMIT $blog_qty", __FILE__, __LINE__); $context['blog'] = array();
while($row = mysql_fetch_assoc($dbresult)) { $context['blog'][] = array( 'ID_BLOG' => $row['ID_BLOG'], 'subject' => $row['subject'], 'ID_MEMBER' => $row['ID_MEMBER'], 'date' => timeformat($row['date']), 'realName' => $row['realName'], 'hide_entry' => $row['hide_entry'] ); } mysql_free_result($dbresult); //End Simple Blog Mod (display recent blogs) Changed sources/simpleblog.php to //Begin Simple Blog Mod (display recent blogs)
$no_of_days = $modSettings['no_of_days_recent_blogs']; $blog_qty = $modSettings['no_of_recent_blogs']; $now = mktime()-($modSettings['time_offset'] * 3600); $last = mktime(0,0,0,date("m"),date("d")-$no_of_days,date("Y"));
//Loop though all the blog entries $dbresult = db_query("SELECT b.ID_BLOG, b.ID_MEMBER, b.blog, b.subject, b.date, m.realName, b.hide_entry FROM {$db_prefix}simple_blog as b, {$db_prefix}members AS m WHERE date BETWEEN $last AND $now AND b.ID_MEMBER = m.ID_MEMBER ORDER BY ID_BLOG DESC LIMIT $blog_qty", __FILE__, __LINE__); $context['blog'] = array();
while($row = mysql_fetch_assoc($dbresult)) { $context['blog'][] = array( 'ID_BLOG' => $row['ID_BLOG'], 'subject' => $row['subject'], 'ID_MEMBER' => $row['ID_MEMBER'], 'date' => timeformat($row['date']), 'realName' => $row['realName'], 'hide_entry' => $row['hide_entry']
); }
//End Simple Blog Mod (display recent blogs) No more double posts Made the same changes to sources/boardindex.php and there is not more double entries in the Forum Info Center.
12
« on: October 18, 2006, 12:01:40 pm »
I must be doing something wrong I'm getting this error when I try to install the games Installing game 1 of 179 Auto detect failed: "D:\Inetpub\akronsanctuary\portal\getid3\..\helperapps" cannot be defined as GETID3_HELPERAPPSDIR because it does not exist
13
« on: October 17, 2006, 01:52:56 pm »
Hmmm... I just noticed when viewing a blog (under Recent Blogs) Each recent blog is entered twice?
14
« on: October 10, 2006, 12:38:32 pm »
Wow... Thank you That really works nice I'm thinking about changing our Church site from Enigma 2.0 to Tiny Portal, so I've been testing mods. Right now I'm using Gallery 2, but I'm starting to like this Gallery. Our website is www.akronsanctuary.com This is Enigma 2.0. The test site is not accessable from the net right now.
15
« on: October 10, 2006, 12:15:57 pm »
What I need to do is talk to the Church people and get someone to donate this mod for the Church site
|
No thumbnails on new uploads
by SMFHacks
March 27, 2024, 02:10:41 pm
|
Display the Contact Page for guests
by SMFHacks
March 27, 2024, 10:55:43 am
|
is it possible to add support for odysee.com
by fvlog19
March 21, 2024, 08:47:51 am
|
Request for admin notification
by davejo
March 10, 2024, 01:31:59 am
|
I need help with torrent upload
by Ineedsmfhelp
March 09, 2024, 10:01:13 pm
|
an idea for new mod (( content type with different display ))
by SMFHacks
February 27, 2024, 01:36:27 pm
|
[Mod] RSS Feed Poster
by SMFHacks
February 27, 2024, 11:57:18 am
|
find duplicate pictures
by fvlog19
February 14, 2024, 02:22:40 pm
|
Error uploading video.
by SMFHacks
February 08, 2024, 02:04:16 pm
|
Gallery icon as last added image
by fvlog19
February 01, 2024, 01:04:56 pm
|
|
|