Andy,
this is the error:
file: /simple-press/sp-startup/forum/sp-forum-framework.php
line: 200
function: implode
Warning | implode() [function.implode]: Invalid arguments passed
Andy,
this is the error:
file: /simple-press/sp-startup/forum/sp-forum-framework.php
line: 200
function: implode
Warning | implode() [function.implode]: Invalid arguments passed
Ah – wrong one. I should have been more explicit – sorry. But that might be connected.
Back to the error log. Go down the list and find the first one that specifies it is a database error – that will be the one we want…
Andy…stupid me…
When I downloaded the database I forgot the table wp_sfmessages.
So now I do not see that error any longer.
But the user profile still doesn’t work…
I checked the error log in the toolbox again and I found this error as well:
file: /simple-press/sp-startup/forum/sp-forum-framework.php
line: 200
function: unserialize
Notice | unserialize() [function.unserialize]: Error at offset 98 of 106 bytes
This is related to the previous error message you pasted above – (same file, same line of code). Did you replace the table ‘sfmeta’ and if so does it have any data in it?
And if there IS a problem with that table then this could also explain the lack of profile tabs as that is where the control data is stored for the profile menus and tabs.
Yes, there are data in that table: usergroups and rankings.
It is the same table I was using on the previous website.
There is also a row with metakey “Tabs” which contains exactly “Buddies and Adversaries”.
Nothing else.
There should be more than usergroups and rankings however.
Still lets get the profile sorted first.
Go to the forum admin > Toolbox > Housekeeping and click on the option rebuild profile tabs and menus. That should do it.
Done, Andy!
Everything is working perfectly now. Thank you SO much!
I take advantage to ask another couple of things…
I need to enlarge the User section and reduce the Post section. With Firebug, I found the user section has a element.style width=15%, and the Post sections says 84%.
If I change those to 20% and 79% it works perfectly. But I am not able to find where these 2 things are.
I also need to increase the size of the username in the User section and make it bold. Looks too small.
Last but not least, the New/Recently Updated Topics and Select Forum functions are not appearing at the top of the page.
Could you please let me know how to fix these little things? After that, the site will shortly be ready to go online and hopefully I will not bother you guys anymore! Unless I will have more problems moving the site from a subdomain to the server root… ![]()
Good news.
Column widths are defined in the SP theme template – in this case the spTopicView.php template. If you open it up in the template editor you should quickly see the columns defined at the start of each block. Just change the percentage values to suit.
The font size question depends on whether you are using an SP theme with overlays or a CSS only theme. The size of that data item is styled with the class name of ‘spPostUserName’. In an overlay theme you would want to edit the overlay you are using where this is defined with the $userInfo variable. In a CSS only theme you would want to edit the actual theme CSS file and change the spPostUserName class font size.
See if you can work it out from that but if you get lost come back and we can get into more detail.
The new/recent posts list on the ‘front’ page is shown by default on all themes as supplied – but NOT shown to the forum admin. If you want to make it available to admins as well then you need to edit the spGroupView.php template. Right down at the bottom you will find the call to sp_RecentPostList(). You will need to add an argument to the list as:
sp_RecentPostList('show=10&admins=1', __sp('Unread and recently updated topics'));
Note the ampersand between arguments. The ;show’ argument determines how many are shown of course.
As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)
All done!
The only thing that doesn’t work is the new/recent posts. I changed as you told me but it’s not working. I thought that the 1 you added was sthe ID of the admin. But I never use that account. I use mine and the ID is 2. So I tried by putting the 2 but still no luck…
It should work just fine – we have had quite a few users made this adjustment.
The 1 simply means true or ‘on’. 1=on, 0=off basically. Are you sure you used the term ‘admins’ and not just ‘admin’? And included the ampersand between the ‘show’ and ‘admins’ arguments. And no spaces.
Andy, this is what I have done. It looks OK to me.
sp_RecentPostList(‘show=10&admins=1’,
__sp(‘Unread and recently updated topics’));
what you posted has & amp; without the space… please try just a regular old ampersand &
I tried, Steve. It still doesn’t work.
I logged in with the admin account ID 1 and still nothing.
Which file is the one that contains those tools (New/Recently Updated Topics and Select Forum)?
I am not able to find it.
Stefano – my apologies. I misunderstood your original question and we have been looking at the wrong thing. I thought you meant the list of topics that appears on the front page beneath the groups. In fact – I now realise you are actually talking about the drop down lists. I am sorry for the confusion.
OK – you nee to look in the spHead.php template of your SP theme. You should have these lines of code:
sp_SectionStart('tagClass=spPlainSection', 'search');
sp_QuickLinksForum('tagClass=spControl spSelect spRight', 'Select Forum');
sp_QuickLinksTopic('tagClass=spControl spSelect spRight', 'New/Recently Updated Topics');
sp_SearchForm($searchForm);
sp_SectionEnd('', 'search');
Are they there?
No problem Andy, no need to apologize ![]()
Yes, they are there, just above # Start the ‘breadCrumbs’ section#