News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMFBlog

Started by SMFHacks.com Team, May 11, 2007, 08:02:48 AM

Previous topic - Next topic

Daniel15

QuoteNotice: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts! in /home/ljb/public_html/mofov2/forum/SSI.php on line 161

The first file included in my page is for my navigation, is there nyway i can get rid of that?
Remove the require('SSI.php'); from the code I posted above, and instead put it at the very top of the page (in <?php ?> tags). This should fix it :)

QuoteYes it's named .htaccess, here's it's contents
Change
RewriteBase /
To:
RewriteBase /forum/
and it should work.

QuoteWell, that's just it. It doesn't. It just comes up with the board name and description but no posts that show as blogs.
The main blog page is a listing of all the blogs available. If you click on the board name, you'll get into the blog itself. This is to allow for multiple blogs.
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

SpelingMistakes

I cant make it to work – I can find in index.template.php first ('admin', 'calendar',) and second (</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';) set of commands

I am using Helios Multi theme - Any help will be appreciated

Spel


PS I didn't even try to find third set of commands

There is a huge difference between living and being alive!

CraftyLion

Quote from: Daniel15
The main blog page is a listing of all the blogs available. If you click on the board name, you'll get into the blog itself. This is to allow for multiple blogs.

Well, that's just it. It just shows the board but no active links to indicate the blogs even though I added a test post.

vandul

#83
Hey Daniel,
I got rid of the error but for some reason its showing posts from the blog i most recently deleted instead of a new one i created
I went into the db and made sure that the board I wanted gone was deleted and I changed the is_blog variable on the other board I want as a blog and it still doesn't work

how do i define which blog to post?
i tried changing
   WHERE is_blog =  to the correct board ID but it shows up blank

any ideas?
thanks

KnightRobby

#84
Hi, I am wanting a "Global link" that goes to your profile when signed in.  When I try the following code I get "An Error Has Occurred!  No profile selected."  Here's the URL I am trying to use:

http://www.webquad.com/site/component/option,com_smf/Itemid,32/action,viewblog/

Can anyone give me the proper link so it can start working right?  Thanks for all your help.  I searched the forums and found nothing of use, since I assume no one else has this problem!

Thanks again!
Robby :)

PS: By the way, Daniel15 thanks for answering my questions so promptly.  I am very grateful for your help and for creating all these kick butt mods! :)
WebQuad Gaming Community
Sections: Gears of War, Call of Duty 3, and Our Awesome Gaming Community Forums.

madagascar

Quote
If you're getting File not Found errors, uncomment the RewriteBase line, and change its URL to the correct one. For example, if your forum was at http://smfblog.dev.dansoftaustralia.net/smf/, you'd have "RewriteBase /smf/".


where can we find this file? what file name and folder name?

madagascar

I have installed successfully but when i tried to add a board for this purpose, i got this error below:

Field 'is_blog' doesn't have a default value
File: D:\Apache\htdocs\forum\Sources\Subs-Boards.php
Line: 1137

help me please.

thanks in advance

KnightRobby

#87
Hey Daniel, I have a simple question.  I am getting an error with the blog mod.  Here's the code for ya:

I am now getting the following errors.  Let me know what to change so I can stop these errors:

[code]Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/default/index.template.php on line 599

590: <a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
591: </td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
592:
593: // The [calendar]!
594: if ($context['allow_calendar'])
595: echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
596: <td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
597: <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
598: // The Blogs!

599: echo ($current_action == 'blog' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '

600: <td valign="top" class="maintab_' , $current_action == 'blog' ? 'active_back' : 'back' , '">
601: <a href="', $scripturl, '?action=blog">' , $txt['blog'] , '</a>
602: </td>' , $current_action == 'blog' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
603: </td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '"> </td>' : '';


Can you tell me what changes I need to make?  Because it states there is definitely something wrong on line 599.

Also, when I try going to the URL http://www.webquad.com/site/option,com_smf/Itemid,32/index.php?action=blog/ I get:

The page you are trying to access does not exist.
Please select a page from the main menu.


Which I don't understand why it is doing this??

Thanks again!  Appreciate your work!
Robby :)[/code]
WebQuad Gaming Community
Sections: Gears of War, Call of Duty 3, and Our Awesome Gaming Community Forums.

madagascar


KnightRobby

Where did the support go?  Anyone there? :)
WebQuad Gaming Community
Sections: Gears of War, Call of Duty 3, and Our Awesome Gaming Community Forums.

wjhdiz

Does this come with other language support? Actually, I just want it be able work in Simplifed Chinese.

Thanks.

Jimmy
Freedom of speech? It is freer if not speaking out.
Believing in God? Yes, talk with God every day through God creations.
Coding is poem and a way of keeping away from the troubled world.

Aes-Sedai

Hmmm... for me, the BLOG button comes up. You go into the Blog section, and there my blogs are listed - but there are no entries (I made sure all blogs had posts in them!)

Any way this can be fixed?

yume_kokoro

Quote from: Aes-Sedai on July 12, 2007, 11:23:50 PM
Hmmm... for me, the BLOG button comes up. You go into the Blog section, and there my blogs are listed - but there are no entries (I made sure all blogs had posts in them!)

Any way this can be fixed?

Apparently you have to make blog boards accessible to guests... or it won't show up.  (Had the same problem)

Just go to Modify Board - and make sure the "guest" is checked.
wtf-anime.com [nofollow]
Looking for Anime/Manga sites to Affiliate with.
Contact via http://wtf-anime.com/index.php?action=contact [nofollow]

Flying Drupalist

      Type     Action     Description
1.    Extract File    ./Sources/Blog.php    
2.    Extract File    ./Themes/default/Blog.template.php    
3.    Extract File    ./Themes/default/blog.css    
4.    Execute Modification    ./index.php    Test successful
5.    Execute Modification    ./Sources/ManageBoards.php    Test failed
6.    Execute Modification    ./Sources/ModSettings.php    Test failed
7.    Execute Modification    ./Sources/Post.php    Test successful
8.    Execute Modification    ./Sources/QueryString.php    Test successful
9.    Execute Modification    ./Sources/Subs-Boards.php    Test failed
10.    Execute Modification    ./Sources/Subs.php    Test successful
11.    Execute Modification    ./Themes/default/index.template.php    Test successful
12.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
13.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
14.    Execute Modification    ./Themes/default/languages/Modifications.turkish.php    Skipping file
15.    Execute Code    installScript.php    

What do I do now? Three files failed!

TrueSatan

This is a variant of the most common problem reported on these forums...the fails mean that another mod you have installed has already edited some of the files this mod seeks to edit and thus they are not in the form this mod expects to find. The resolution for all such problems is to do a manual installation of the mod. Please read:

http://docs.simplemachines.org/index.php?topic=402.msg531#msg531

You may find it helpful to also refer to:

http://modparser.dev.dansoftaustralia.net/

Flying Drupalist

Thank you, so I should continue installation anyway and do the failed files manually?

TrueSatan

No...(or not necessarily) experienced users sometimes do this if they know exactly what the failed files contain and do but it's safer to do a full manual installation if you have any doubts about it.

Flying Drupalist


Flying Drupalist

OK So I did the file changes... but what about the database?

Unknown column 'b.is_blog' in 'field list'

Flying Drupalist

I tried to run installScript.php but that gives me an internal script error...

Advertisement: