| Re: MyTutorials v2.1b html problem - please help :( |
| by DogTags on 2005/4/29 12:43:50 I was thinking of trying this mod. Have you gotten things sorted out? Is it working okay now? I would love to put some tutorials on the site, but I'm no code-meister. I'd be afraid I'd mess up the whole show. Thanks
|
| Re: MyTutorials v2.1b html problem - please help :( |
| by mko_san on 2005/4/8 20:59:11 Well I figured it out... to fix html problem, open up /tutorials/index.php find le="color: #000000"><?php $myts->makeTboxData4Show($myrow['cdesc']); replace with le="color: #000000"><?php $cdesc = $myrow['cdesc']; if you need html in title, then find le="color: #000000"><?php $myts->makeTboxData4Show($myrow['cname']); replace with le="color: #000000"><?php $cname = $myrow['cname']; Another bug in this module is [ratethis] tag not parsing in tutorial view. To fix it open /tutorials/viewtutorial.php and find le="color: #000000"><?php $content = str_replace("[date]","$date",$content); add after le="color: #000000"><?php $content = str_replace("[ratethis]"," <a href="rate.php?tid=$tid"><b>"._MD_RATETHIS."</b></a>",$content); There is ton of bugs in this module, it took me last 6 days to fix so it works for me. The blocks are totally screwed up, you will end up re-making them. Here is my tutorials_top.php file. It should work for you, if you change respective file paths. I suggest you modyfy you short timestammp to something good looking, like "05 Apr 08", that way it will look nicer while used with above blocks ^_^ Good luck with this module, if you are going to use it, there is lots more bugs in it.. I found it easier to fix it then to write my own xP |
| Re: MyTutorials v2.1b html problem - please help :( |
| by mko_san on 2005/4/6 0:47:41 Quote:
lol. well if you look at dev's profile it says he logged in last time sometime last year. I sent him an email with a plea for help, got no anwser do far. Quote:
I tried AMS, it won't do at all. I'll try other ones, ecoTut sounds nice xD Thx for help, Peekay ^_^ Too bad you can't help me with that PHP problem.. anybyde has any isead on how to force XOOPS to parse html parsing at database output string [using echo to display output]??? |
| Re: MyTutorials v2.1b html problem - please help :( |
| by Peekay on 2005/4/6 0:12:18 I was going to suggest posting your question directly on the developer's site, but I took a look at it and I get the impression that they only speak german! I can't help with the PHP at all I'm afraid, but if you don't manage to get it sorted out, having looked at the Tutorials demo, I would have thought the Articles , arMS, AMS or WF-Sections modules could provide the same functionality You might also want to investigate ecoTut 1.2. I am sure I have seen another teaching module somewhere, but this is all that a search for tutorial on Xoops.org shows up. |
| Re: MyTutorials v2.1b html problem - please help :( |
| by mko_san on 2005/4/5 23:04:46 - bump - help me guys T_T please T_T any ideas how to force html parsing at database output string? Maybe something like pre-pasing it to make sure it has tagsin tact [not sth like & lt;html& gt;] before it reaches html parser? please, please, please help me with it T_T |