1
maydo
cbb 3.08 & simplified url problem
  • 2007/4/28 8:36

  • maydo

  • Just popping in

  • Posts: 67

  • Since: 2004/12/30


hi

im using simplified urls with XOOPS 2.0.16 and cbb 3.08
but the rating in cbb and some other options not working
any solutions for this prob ??

thx
wasn dess
www.remixland.de

2
iHackCode
Re: cbb 3.08 & simplified url problem

i was looking through your profile and noticed this post..


back i may i noticed my site had a problem with the links for rating posts. so i just made them absolute. LINK...

Quote:
Version 3.08

on my site i noticed the relative urls created a problem so i change them to absolute so i share them with you.

templates: newbb_viewtopic_flat.html and newbb_viewtopic_thread.html

i added <{$xoops_url}>/modules/<{$xoops_dirname}>/
<{if $rating_enable}>
<
select    name="rate" id="rate" class="menu" onchange="if(this.options[this.selectedIndex].value.length >0 )    { window.document.location=this.options[this.selectedIndex].value;}">
<
option value=""><{$smarty.const._MD_RATE}></option>
<
option value="<{$xoops_url}>/modules/<{$xoops_dirname}>/ratethread.php?topic_id=<{$topic_id}>&forum=<{$forum_id}>&rate=5"><{$smarty.const._MD_RATE5}></option>
<
option value="<{$xoops_url}>/modules/<{$xoops_dirname}>/ratethread.php?topic_id=<{$topic_id}>&forum=<{$forum_id}>&rate=4"><{$smarty.const._MD_RATE4}></option>
<
option value="<{$xoops_url}>/modules/<{$xoops_dirname}>/ratethread.php?topic_id=<{$topic_id}>&forum=<{$forum_id}>&rate=3"><{$smarty.const._MD_RATE3}></option>
<
option value="<{$xoops_url}>/modules/<{$xoops_dirname}>/ratethread.php?topic_id=<{$topic_id}>&forum=<{$forum_id}>&rate=2"><{$smarty.const._MD_RATE2}></option>
<
option value="<{$xoops_url}>/modules/<{$xoops_dirname}>/ratethread.php?topic_id=<{$topic_id}>&forum=<{$forum_id}>&rate=1"><{$smarty.const._MD_RATE1}></option>
</
select>
<{/if}>
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

Login

Who's Online

92 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 92


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits