![]() |
Quote:
|
Well I'm most pleased that the .png change made it into the mod - template edits, I can deal with, but remembering code changes would be a hassle ;)
Nice going on the read marking change =D Updating now :) EDIT: Nevermind, the .png setting is global when it should be per-skin, like I put in my templates. I still need to edit the code to produce the wanted effect :( Best way to do this would be to define the result of the AdminCP option in the template, rather than the code, so that a forum could set their default (if the majority of skins uses gifs, they use gif extension in the option, and vice versa), but still allow us to customise the extension per-skin. Hopefully that made sense XD |
1 Attachment(s)
Hi, try this one.
I started to change this right after your first edit, but I guess I just had the same idea ;) I hope this will work for you. I updated the product .zip accordingly. |
When I click on the option
groups user is a member of The forum page does not come up. but it works if I select groups user is subscribed to |
Quote:
|
Working like a charm now, thanks mate :D
|
Quote:
|
Please use the Update-Mail Function. You have 120 Installs but only a few Downloads every Update. ;)
|
BUG after Updating shown at Top of Forumhome/Header:
Warnung: Invalid argument supplied for foreach() in [path]/index.php(67) : eval()'d code (Zeile 458) |
Uh - I don't get that error... on neither of my boards. Since there's no line 458 in the plugin, I do not know exactly which of the two foreach statements in the plugin might be responsible. Since this only happens after upgrade, probably the newly added ;) Can't see what might be causing it at the moment.
Please try the following: in the plugin add Code:
$array_discussionread = array(); Code:
while ($array = $db->fetch_array($result_discussionread)) Are you using PHP 4 or PHP 5? If the above does not fix it, please try to replace Code:
foreach ($array_discussionread[$cel_groups['groupid']] as $discussions) Code:
foreach ((array) $array_discussionread[$cel_groups['groupid']] as $discussions) |
Quote:
|
Good to know. Will include this into the package and then send an upgrade notification ;)
|
Awesome! :)
|
It's good practice to always init your arrays like that, and if you are foreach'ing variables you didn't have complete control over, you should either typecast like in your second fix, or check "if (!is_array($arr)) { $arr = array(); }" :)
Reason is, if a database returns no rows, it doesn't create any arrays you manipulate inside a while() result iterator. |
Yep, just learned that ;)
|
|
Is there any reason that the small images wouldn't show up (and just appear as broken images)? I already uploaded them to both my images folder and the individual style folder. I don't get what could be causing this.
|
You mean the icons to start a new discussion etc.? There's only one reason for this: they have not been uploaded to the correct folder. Do you use a custom style with different folders? This mod always looks for the buttons in the folder of the skin as set in AdminCP. So probably you have to upload them to that folder, too.
|
Quote:
|
Nvm figured it out. :-P
|
1 Attachment(s)
Hi cellarius,
I wonder if you could help - I've just installed this and get the error in the attached image - all the code shows up at the top of the page. Thanks in advance, Renada :) |
Quote:
Find and delete this at the very top and at the very bottom of the plugin: Code:
?><? |
Quote:
Thank you so much, that fixed the problem :) One more thing, slightly off topic though. I want to add a block of text to the "Social Groups" main page - do you have any idea which template I need to edit? I've tried several and it doesn't appear to show up anywhere. Thanks again :) Renada |
Very nice addon, thanks!
Where can I fix the width of these columns in order to align with the rest of the forum? http://img211.imageshack.us/img211/7291/groupforum.jpg Greetings |
Adapt template forumhome_cel_social_groups to your needs - just like you did with forumhome
|
Thank you very much ;)
|
is there a way someone can put this in a standalone php file so I can call it in my ajax tabs?
Does that mane cents? LOL :D |
1 Attachment(s)
Hi. The title of groups appears in normal style but I would like to show it with bold text like the titles for forums on forumhome. Where can I modify that?
Thanks |
Quote:
HTML Code:
<a href="group.php?$session[sessionurl]groupid=$cel_groups[groupid]" style="$cel_sgfh_css">$cel_groups[name]</a> Replace with: HTML Code:
<a href="group.php?$session[sessionurl]groupid=$cel_groups[groupid]"><strong>$cel_groups[name]</strong></a> |
No need to edit the template. Just apply css to the grouptitle in the options for this mod in AdminCP.
|
Thanks to both.
Where can I find that exactly, cellarius? |
1 Attachment(s)
Another question. I?ve seen that the bar of title and description respect to the forums are reversed. It?s possible to fix this?
Greetings ;) |
Forget what I wrote - the css is for unread groups titles only. I misunderstood your questioin. You'll have to do the template edit.
Your second question: The standard setup for Forumhome is the way that this mod uses (see vbulletin.com). You can change that by editing the templates of this mod along the same lines you edited your forums display. |
yea
had also the idea some days ago, good that i've found it here instead of spending time with coding |
Quote:
|
As I said: Look at vbulletin.com. They are running the standard style, and there the lines for the forums you pointed out are arranged in the way that this mod does. Since your style is different, it has to be modified. To adapt this, you'll have to adapt the templates for this mod.
|
Works a treat. Thanks.
|
Buongiorno cellarius.
First, thanks for your hack which is working very well. Then, a little question, I'm using SocialForums : https://vborg.vbsupport.ru/misc.php?...socialforums38 I'd like to have the last post of the social forum appearing in the cell instead of the last discussion, can you help me ? Thanks ! |
Sorry, since I do not use (and do not know) this mod, I really can't, sorry.
|
Owwww too bad .... But thank you again for this very usefull hack.
|
All times are GMT. The time now is 12:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|