News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF 1.1 Release Candidate 2 is available!

Started by Grudge, December 29, 2005, 04:53:27 AM

Previous topic - Next topic

Ted_G

Quote from: JayBachatero on January 04, 2006, 01:29:12 PM
@Ted - Please take a look at MySQL Errors with boards in RC2

-JayBachatero

Thanks Jay and Grudge you have helped me resolve the issue. As I said in the other post, I needed to add a ; at the end of the query in the phpmyadmin table. I appreciate the help. Cheers. ;)

rnotakid


I just found out about your forum yesterday and tried it out last night. I couldn't believe someone was actually here in the middle of the night to help me out.

I have several people that I maintain their sites forum for and they are all getting changed over to smf tonight. This forum beats all the others hands down.

JayBachatero

@Teg - I will take a look at it and update it to make sure no one else runs into any problems.

@rnotakid - Glad to hear that you enjoy the software.  It seems that you are very persuasive that you getting them converted so fast :P  or the software just too good :P

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

kisii

In the release notes of RC2  it said that SMF now is easier to integrate ..i did the upgrade  and went unto the admin section to see if there are any settings that will allow better integration with other software but did not notice any. I have a photopost and SMF integration and I have had to deal with multiple loggin in and out from the gallery to the forum because ( as the Photopost folks said) , SMF does not specific cookie and session  variables that can be set so that one can log in through the gallery and use SMF tables. They had suggested to wait for future releases and I have now seen two without such a fix. The integration ( SMF + Photopost ) worked perfectly with 1.05 but something changed on the way here. Any official word on this?

Teknomancer

Quote from: Random on January 04, 2006, 12:48:36 PM
Quote from: Teknomancer on January 04, 2006, 06:54:16 AM
Well I did that, and I still don't even see it on my theme :(


Have you got quick moderation turned on in your profile?

Yes, it is set to "Checkboxes"... 
My SMF Forum:

Grudge

Tek,

Can you post the code you are using in your custom theme into a new topic on the coding discussion board?

kisii, SMF now has better means of integrating, but they are not visible settings as they would require people with PHP knowledge to use. Search the boards here for 'integrate' to get a better idea of what this means, but it's basically what allows the likes of the new Joomla bridge to work without requiring code modifications.
I'm only a half geek really...


Grudge

I'm only a half geek really...

TheMaTrIx

Talking of such Grudge, is it posible to get a list of the hooks you guys built in?

Would be rather handy to have a list of hooks one can use instead of having to find them ourselves.


Grudge

And you have polls enabled and have the permission to add polls?
I'm only a half geek really...

Jay T


Sverre

Quote from: Jay T on January 05, 2006, 10:00:59 AM
Quote from: Grudge on January 05, 2006, 09:14:33 AM
It's on the bottom row of buttons only.

Not there.

I have the post new poll button both above and below the topic list (MessageIndex) with all three themes included in the installation (NDT, Babylon and Classic YaBB SE theme).

What theme are you experiencing this with, and if this is an upgrade from a previous version, have you checked that all your files are converted and up to date?

Jay T

I have the "New Poll" button. What I want is the "Add Poll" button. Which will let me add a poll to an existing topic.

Sverre

#294
Quote from: Jay T on January 05, 2006, 07:18:44 PM
I have the "New Poll" button. What I want is the "Add Poll" button. Which will let me add a poll to an existing topic.

Damn, sorry for the misunderstanding. It's indeed missing from NDT.

It seems like the if and elseif statements have been reversed.

Search in Display.template.php:


// As before, build the custom button right.
if ($context['user']['is_logged'] && $settings['show_mark_read'])
$normal_buttons['custom'] = array('text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
elseif ($context['can_add_poll'])
$normal_buttons['custom'] = array('text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);


Replace with:


// As before, build the custom button right.
if ($context['can_add_poll'])
$normal_buttons['custom'] = array('text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
elseif ($context['user']['is_logged'] && $settings['show_mark_read'])
$normal_buttons['custom'] = array('text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);


This worked for me, but I'm not a coder though, so you might want to wait for someone with more knowledge to verify this modification.


Edit to add:
The Classic YaBB SE Theme has "Add Poll" both at the top and bottom, so that should probably be looked into as well.

Teknomancer

Quote from: Grudge on January 05, 2006, 05:18:03 AM
Tek,

Can you post the code you are using in your custom theme into a new topic on the coding discussion board?

Done. Here's the link AJAX and Custom Theme
My SMF Forum:

Meriadoc

Quote from: Sverre on January 05, 2006, 08:31:22 PM
Quote from: Jay T on January 05, 2006, 07:18:44 PM
I have the "New Poll" button. What I want is the "Add Poll" button. Which will let me add a poll to an existing topic.

Damn, sorry for the misunderstanding. It's indeed missing from NDT.

It seems like the if and elseif statements have been reversed.

Search in Display.template.php:


// As before, build the custom button right.
if ($context['user']['is_logged'] && $settings['show_mark_read'])
$normal_buttons['custom'] = array('text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
elseif ($context['can_add_poll'])
$normal_buttons['custom'] = array('text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);


Replace with:


// As before, build the custom button right.
if ($context['can_add_poll'])
$normal_buttons['custom'] = array('text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
elseif ($context['user']['is_logged'] && $settings['show_mark_read'])
$normal_buttons['custom'] = array('text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);


This worked for me, but I'm not a coder though, so you might want to wait for someone with more knowledge to verify this modification.


Edit to add:
The Classic YaBB SE Theme has "Add Poll" both at the top and bottom, so that should probably be looked into as well.

That however will remove the mark unread button. I've brought this up to the design team and we'll look at the best way to solve it for 1.1 Final. Thanks for the heads up! :)

Your solution does provide for the fact that you have the add poll at bottom and mark unread at top which at least gives you both options.
If I know the way home and am walking along it drunkenly, is it any less the right way because I am staggering from side to side? : Leo Tolstoy
Everything I know I learned from Calvin and Hobbes.
And patience is about the most useful thing you could ever have.  That and backups. : [Unknown]
If I choose to send thee, Tuor son of Huor, then believe not that thy one sword is not worth the sending. : Ulmo, Lord of the Waters - Unfinished Tales, by J.R.R. Tolkien

Sverre

Quote from: Meriadoc on January 06, 2006, 06:19:35 AM
That however will remove the mark unread button. I've brought this up to the design team and we'll look at the best way to solve it for 1.1 Final. Thanks for the heads up! :)

Your solution does provide for the fact that you have the add poll at bottom and mark unread at top which at least gives you both options.

No, the mark unread button is in the top row of buttons, just as it is in the Babylon Theme. The modification I posted only affects the row below the messages.

Owdy

Quote from: Grudge on December 31, 2005, 10:27:58 AM
Could I also ask everyone who may experience any problems with this update to post about it in the support boards, and not in this topic. This will ensure we do not miss any support requests!
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

gfmorris

Quote from: JayBachatero on December 31, 2005, 09:14:45 PM
It would be nice if users with large forums report how long it took to do the log table changes.

-JayBachatero

Your wish is my command, Jay!

I made a straight copy of my database into a test forum database, copied over the SMF 1.0.5 scripts into a separate directory, grabbed the tar.gz, tar -xvzf'd it, made sure Settings.php was connecting to the test db, and fired off upgrade.php.  After a couple steps, I went over to my main forum install and put it into Maintenance Mode [which probably made me unpopular; my bored office-worker users on Friday afternoon are probably standing outside my office with pitchforks ;)], then let the upgrade utility keep running.

My 683,786 posts by 882 users in 34,121 topics [334MB of SQL storage space] took 90 minutes on a dual-proc Linux box.  [If you want exact specs on the box, I'll be happy to provide 'em.]  Doesn't appear to have gone totally smoothly, either, but I'm running out of time this afternoon to muck with it.

GFM

Advertisement: