Boudi
Addon Team
Offline
Posts: 793
|
 |
« Reply #75 on: October 06, 2009, 09:54:13 AM » |
|
Hi Chio, Thnq for responding. yes, it is by default but not working. In FF you see the short story only. In IE7 the page is even completely blank. There are no DB errors or notices. If you like I can give you access. Solved: you see the short story only. ...I had to put more than 20 characters into the long story to make the 'read more' button visible. Thnx 2 Chio 
|
|
|
|
« Last Edit: October 07, 2009, 09:10:46 AM by Boudi »
|
Logged
|
...:: Bake the Unbakable ::...
|
|
|
Boudi
Addon Team
Offline
Posts: 793
|
 |
« Reply #76 on: October 07, 2009, 12:09:29 PM » |
|
Hi,
Unlike the anynews snippet I noticed it's not possible to get the image of a topic in the anytopics snippet? I only see text, no image.
How can this be achieved?
Greetz,
Boudi
|
|
|
|
|
Logged
|
...:: Bake the Unbakable ::...
|
|
|
chio
WebsiteBaker Org e.V.
Offline
Posts: 2264
|
 |
« Reply #77 on: October 09, 2009, 02:39:34 PM » |
|
Unlike the anynews snippet I noticed it's not possible to get the image of a topic in the anytopics snippet? I didnt know that the News-Module can handle pictures... so where does anynews get the pictures from? Do you mean something like this?: http://websitebaker.at/wb/test.html
|
|
|
|
|
Logged
|
*weg*
|
|
|
Boudi
Addon Team
Offline
Posts: 793
|
 |
« Reply #78 on: October 09, 2009, 05:25:19 PM » |
|
Yes it can, at least, in combination with the anynews snippet. Simply place a picture in the short story and the picture will be visible where you put the snippet in the template. Example in PM.
But since your topics mod has more control and better handling I thought that your mod and snippet were capable of doing that too.
Your example shows something similar indeed (check my pm)
Greetz,
Boudi
|
|
|
|
|
Logged
|
...:: Bake the Unbakable ::...
|
|
|
Abenaa
Offline
Posts: 226
|
 |
« Reply #79 on: October 14, 2009, 09:09:15 AM » |
|
I would be very interested in how I can get an image of a topic to the anytopic snippet, like I can do it with anynews.
|
|
|
|
|
Logged
|
|
|
|
maxxis
Offline
Posts: 30
|
 |
« Reply #80 on: January 21, 2010, 09:22:16 PM » |
|
Ive picked up an interesting problem
I have 2 sections on a single page both being topic section.
I have a custom footer message for the first section's topic and a defauly footer for the second topic's section.
However the topic settings from the first section is applied to both sections.
Any ideas as to why this is happening? I checked the database and all the settings are stored correctly. Only in topic view is this affected. Not in list view.
|
|
|
|
|
Logged
|
|
|
|
chio
WebsiteBaker Org e.V.
Offline
Posts: 2264
|
 |
« Reply #81 on: January 22, 2010, 08:53:43 AM » |
|
Hmm,
Did you move the Topic from one section to another? Check the access-file: Is there defined the right section_id? I have heard of troubles, when a topic is moved the access-file sometimes "keeps" the old section_id.
|
|
|
|
|
Logged
|
*weg*
|
|
|
maxxis
Offline
Posts: 30
|
 |
« Reply #82 on: January 22, 2010, 10:27:55 AM » |
|
Thank you Chio
I have moved one or two topics between sections.
I will double check
Excellent work on this.
|
|
|
|
|
Logged
|
|
|
|
maxxis
Offline
Posts: 30
|
 |
« Reply #83 on: January 22, 2010, 12:50:43 PM » |
|
This is not ideal but to prevent this edit the view.php and replace 72 to 75 with // Get settings $t_id = TOPIC_ID;
$query_settings = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_topics_settings, ".TABLE_PREFIX."mod_topics WHERE ".TABLE_PREFIX."mod_topics_settings.section_id = ".TABLE_PREFIX."mod_topics.section_id AND ".TABLE_PREFIX."mod_topics.topic_id = '$t_id'");
What his will do is query the settings based on a join on the section id determined by the topic id. This ensures the correct settings for the page is called when multiple topic sections exists on the same page. I would have attached my view.php but I have other codes in place to do my comments counting and topic views.
|
|
|
|
|
Logged
|
|
|
|
chio
WebsiteBaker Org e.V.
Offline
Posts: 2264
|
 |
« Reply #84 on: January 22, 2010, 02:21:33 PM » |
|
Jepp, I guess, I found the bug:
modules/topics/functions.php -> Line 78: function topics_move_topic($movetopic)
After: global $database; Add: global $page_id; global $section_id;
This function changes both page_id and section_id
In function topics_createaccess _file both are used again.
Seems to work (I get crazy with this php functions and variables...)
|
|
|
|
|
Logged
|
*weg*
|
|
|
crnogorac081
AddOn Development
Offline
Posts: 1680
|
 |
« Reply #85 on: January 29, 2010, 02:15:51 PM » |
|
Hi chio, Which file is generating this code: <?php $page_id = 35; $section_id = 39; $topic_id = 2; define("TOPIC_ID", $topic_id); require("../../config.php"); require(WB_PATH."/index.php"); ?>
I am testing this with no Pages folder (pages are in root) so I I need to remove one ../ from require("../../config.php");
|
|
|
|
« Last Edit: January 29, 2010, 05:22:58 PM by crnogorac081 »
|
Logged
|
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
|
|
|
chio
WebsiteBaker Org e.V.
Offline
Posts: 2264
|
 |
« Reply #86 on: January 29, 2010, 02:26:59 PM » |
|
Make the changes in /modules/topics/module_settings.php -> bottom
There are some bugs in topics 0.4.2, you might need to replace these files (attached)
search.php : if search isnt working with topics modify_topic.php : if you cannot delete comments functions.php : if moved topics dont have the right page_id
|
|
|
|
|
Logged
|
*weg*
|
|
|
crnogorac081
AddOn Development
Offline
Posts: 1680
|
 |
« Reply #87 on: January 29, 2010, 05:23:13 PM » |
|
Hi chio, Which file is generating this code: <?php $page_id = 35; $section_id = 39; $topic_id = 2; define("TOPIC_ID", $topic_id); require("../../config.php"); require(WB_PATH."/index.php"); ?>
I am testing this with no Pages folder (pages are in root) so I I need to remove one ../ from require("../../config.php"); refresh 
|
|
|
|
|
Logged
|
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
|
|
|
chio
WebsiteBaker Org e.V.
Offline
Posts: 2264
|
 |
« Reply #88 on: January 29, 2010, 05:38:56 PM » |
|
?? Make the changes in /modules/topics/module_settings.php -> bottom
For root: $topics_directory = '/'; // starts and ends with "/" $topics_directory_depth = ''; $topics_search_directory = '/../';
|
|
|
|
|
Logged
|
*weg*
|
|
|
crnogorac081
AddOn Development
Offline
Posts: 1680
|
 |
« Reply #89 on: January 29, 2010, 07:41:12 PM » |
|
oups, sorry, I was looking in modify_settings.php
|
|
|
|
|
Logged
|
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
|
|
|
crnogorac081
AddOn Development
Offline
Posts: 1680
|
 |
« Reply #90 on: January 29, 2010, 08:20:44 PM » |
|
btw, i get [DISPLAY_NAME] ([USERNAME]) as text,do you know why they want print corectly ?
|
|
|
|
|
Logged
|
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
|
|
|
chio
WebsiteBaker Org e.V.
Offline
Posts: 2264
|
 |
« Reply #91 on: January 30, 2010, 09:14:30 AM » |
|
Hmm - I dont understand the question..
maybe you mean: [USER_DISPLAY_NAME] and [USER_NAME]
since topics 0.4 all placeholders concerning users start with [USER_ ...
|
|
|
|
|
Logged
|
*weg*
|
|
|
crnogorac081
AddOn Development
Offline
Posts: 1680
|
 |
« Reply #92 on: January 30, 2010, 10:41:39 AM » |
|
In settings=> topics header I have> <p class="tp_author">set by [DISPLAY_NAME] ( [USERNAME] ) in [PUBL_DATE]</p> , I changed it now to [USER_DISPLAY_NAME] and [USER_NAME] and it works. thanks for the tip. If I remember well , I downloaded this version from AMASP, so when you have time, please update it..
all best, Ivan
|
|
|
|
|
Logged
|
Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
|
|
|
mathetos
Offline
Posts: 93
|
 |
« Reply #93 on: April 14, 2010, 07:45:39 AM » |
|
Love this module... really a perfect addition. I have one suggestion that would really make this perfect for my purposes:
Be able to designate on a per "topic" basis where comments are emailed.
This would make the module perfect.
|
|
|
|
|
Logged
|
|
|
|
|
|
mjm4842
Offline
Posts: 227
|
 |
« Reply #95 on: August 11, 2010, 03:12:00 PM » |
|
Hi Chio, Thanks for making available v0.6 . However I tried upgrading from v0.5 to v0.6 today, I got the following error messages when installing the ZIP file: Notice: Undefined variable: tablename in z:\htdocs\wb\modules\topics\inc\upgrade.inc.php on line 6
Notice: Undefined variable: tablename in z:\htdocs\wb\modules\topics\inc\upgrade.inc.php on line 9
Fatal error: Call to a member function fetchRow() on a non-object in z:\htdocs\wb\modules\topics\inc\upgrade.inc.php on line 10
Any suggestions ? Best regards, Michael PS. Sorry, I don't speak German.
|
|
|
|
|
Logged
|
Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you. ___________________ ________ www.tngconsulting.c a
|
|
|
erpe
Offline
Posts: 2077
|
 |
« Reply #96 on: August 11, 2010, 03:22:08 PM » |
|
PS. Sorry, I don't speak German. seems that you are not the only one... 
|
|
|
|
|
Logged
|
|
|
|
chio
WebsiteBaker Org e.V.
Offline
Posts: 2264
|
 |
« Reply #97 on: August 12, 2010, 07:24:27 AM » |
|
I found the bug. This error doesnt matter, Topics should work anyway.
|
|
|
|
|
Logged
|
*weg*
|
|
|
erpe
Offline
Posts: 2077
|
 |
« Reply #98 on: August 12, 2010, 09:37:44 AM » |
|
Hallo Chio
habe heute upgedated von einer 0.5 auf 0.6 und folgendes festgestellt: - Links von der Übersichtseite auf den einzelnen Topic funktionieren nicht mehr - Links aus dem BE zu dem einzelnen Topic funktionieren nicht mehr - edit aus der Übersicht führt zu einer Ansicht, wo das komplette WB-BE micht mehr sichtbar ist - edit aus dem WB-BE führt zu einer "normalen" Ansicht
Kann das jemand so bestätigen?
Gruss
erpe
|
|
|
|
|
Logged
|
|
|
|
chio
WebsiteBaker Org e.V.
Offline
Posts: 2264
|
 |
« Reply #99 on: August 12, 2010, 10:13:21 AM » |
|
- Links von der Übersichtseite auf den einzelnen Topic funktionieren nicht mehr
Das dem Topics-Directory zu tun. Heißt das bei dir "/topics/ ? Ist in module_settings.php einzustellen und sollte sich eigentlich nicht verändert haben.
- edit aus der Übersicht führt zu einer Ansicht, wo das komplette WB-BE micht mehr sichtbar ist - edit aus dem WB-BE führt zu einer "normalen" Ansicht
Ja, das ist so. zuständig ist ebenfalls module_settings(default).php $fredit_default = 1; //1:frontend, 0: backend;
|
|
|
|
|
Logged
|
*weg*
|
|
|
|