41
dickinsd
Re: Adsense and Image in Same Block
  • 2005/12/9 17:58

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


change: [image]/mysite/uploads/img4399b2f94e219.jpg[/img]

to: <img src="/mysite/uploads/img4399b2f94e219.jpg" />

Dave



42
dickinsd
Re: module pages ahev their own bg.gif?
  • 2005/12/9 8:58

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


I don't see any broken images either.



43
dickinsd
Re: Content Interchange
  • 2005/12/8 23:41

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


I have not tried it myself, however a little search roudn the forums should produce info on a multi-site hack, which from what I can gather allows you to specify which modules are shared on both sites, therefore you would just select to share the newbb module and leave everything else as is.

Sorry I can't be of more use, it's something that sounds great, but have never managed to get round to trying it myself.

Dave

EDIT:

See this thread for a little more info: LINK



44
dickinsd
Re: Can I use a .htaccess like this?
  • 2005/12/8 23:36

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


Thanks for the info highlander.

Unfortunately I was not very successful with either your info or any other .htaccess stuff I tried, even though the mod_rewite module is installed on my shared server.

However after a day of messing around, and with some tips from the guys at youngcoders.com I was able to get some if/else statements to work so that I could dictate which articles went where.

Just in case I did not make that clear earlier, I wanted to forward all incoming traffic from one module to another, however the new module allowed a couple of new features which meant I had less articles and as such it was not a straight translation from id=1 to storyid=1, using if/else statements I was able to give a 301 header and then forward individual articles to their new homes.

Thanks for the info all the same.

Dave



45
dickinsd
Can I use a .htaccess like this?
  • 2005/12/7 20:35

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


I am trying to use the .htaccess file to permanently forward URL requests for my articles.

I currently have duplicates of the content so that the search engines etc can find the material they have already referenced.

However I have read that search engines do not like duplicate content.

I am trying to use a .htaccess file to redirect individual articles.

# main (top-level) .htaccess file..
Options +FollowSymlinks
rewriteengine on
rewriterule 
/modules/articles/article.php?id=/modules/AMS/article.php?storyid=[r=301,nc]

I have tried placing this file in my root dir and my articles dir but neither seems to actually do anything.

I have tried using full urls also.

The redirect gets a little more complicated in that I have reorganised the articles so that the article IDs do not translate i.e. as you can see from the above example article ID 1 is now article id 2, but these changes become greater as the article numbers increase.
AND I want to continue using the articles module for about 5 existing articles and around 10 new ones, so I can't just redirect everything.

So first question, Does anyone know how to create a .htaccess to redirect dynamic pages (as I am starting to think the *php?id=* might be one of my main problems.

Second question is there another method of forwarding traffic from one module to another that would be better suited to my requirements?

Thanks for any help.

Dave



46
dickinsd
Re: Scalability and 2.2 series; is this an issue?
  • 2005/12/7 20:18

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


I saw another post that got me thinking a little; however I forgot to raise the question.

Quote:
Herko Coomans wrote:

8. Why XOOPS.ORG is not running latets 2.2.3a to show what exatcly XOOPS is ?

Because XOOPS 2.2.3a is less scalable then 2.0.13.2. And because we plan to do the update and upgrade and redesign and restructuring in one big project, not spread over a long time.

From This post

Although I am not planning any huge projects, I would like to know what scalability issues, if any, might arise as a site grows?
Or perhaps what types of project/site are not suited to XOOPS 2.2.x

I like XOOPS 2.0.x it has been a great 'core' on several sites and I have had few problems (although my largest problem has followed me to XOOPS 2.2.x but thats another post).
However after using XOOPS 2.2.x on a test site I was very impressed with it and liked some of the new features, I have since upgraded all but one of my XOOPS based sites to 2.2.x.
My main problems since the upgrade are with modules, not so much incompatibility, but trying to find modules that can offer more to me and my users, this seems to have caused me the most problems.

Dave



47
dickinsd
Help with Userbar in CBB 2.30
  • 2005/12/7 12:07

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


Hi.

I was having some problems with newbb2 working with a new theme I am trying to put together, the hover menus were causing me more problems than I wanted.

So I decided to finally get round to updating the forum to cbb 2.30 (Using XOOPS 2.2.3). I want to use the SELECT menus similar to those on the CBB site and on most XOOPS sites running cbb BUT I cant get the user menu to work.

The preferences for the forum are set to enable userbar AND I have set the default menu to SELECT.

However when I go to the forums all I have is the name of the poster that when clicked will take you to their profile. I do not have the drop down menu.

Can anyone tell me if they have this feature working on cbb 2.30? and if so, how?

Thanks

Dave

EDIT:

This has been addressed here:
http://cbb.getituponline.com/modules/newbb/viewtopic.php?forum=7&post_id=766#forumpost766



48
dickinsd
Re: Theme.html not updating?
  • 2005/12/6 22:49

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


In admin, preferences, general preferences/settings you find Update module template .html files from themes/your theme/templates directory? I find changing this to yes and then click submit 'loads' any changes you have made to the theme.html

However I am not sure if this is the correct use of this feature as it seems as though it is for doing something to do with templates, but seems to make the changes for me.

When you've finished playing, just set it back to no

Dave



49
dickinsd
Re: How to put Html in xoops?
  • 2005/12/4 21:47

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


If you do a search on this site you should find links to modules which can wrap HTML for you.

However, if you don't want another module for a single or a couple of html pages you can do this:

<?php
include("/mainfile.php");
include(
XOOPS_ROOT_PATH."/header.php");
?>
<HTML>
[b]HTML GOES HERE[/b]
</HTML>
<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>


Save as whatever.php and then link to it with the main menu or however you plan to link to it.

Dave

EDIT:

I know you didn't ask, but whilst on the subject, here is how you would edit your main menu:

First you need to have a cloned template set, then in the cloned template set you need to go to system and then system_block_mainmenu.html and you will see something like this:
Quote:
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a> <{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
</td> </tr>
</table>


You add your own links like so:

<table cellspacing="0">
<
tr>
<
td id="mainmenu">
<
class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- 
start module menu loop -->
<{foreach 
item=module from=$block.modules}>
<
class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a> <{foreach item=sublink from=$module.sublinks}>
<
class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- 
end module menu loop -->
[
b]<class="menuMain" href="<{$xoops_url}>/">yourtext</a>[/b]
[
i][b]<class="menuMain" href="<{$xoops_url}>/whatever.php">Whatever</a>[/b][/i]
</
td> </tr>
</
table>



50
dickinsd
Re: Help removing the register button
  • 2005/12/4 12:19

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


I think when you change a template, you just click submit or save or something like that.

That saves your changes and on my sites, the changes are usually instant as long as you don't have cache on the block or module that your altering.

However I think the correct way of updating a template is to make the changes, click on save or submit and then go to the modules admin page and click the icon to update the system 'module'.

I aren't too sure on that, but from what other people have said to me in the past, this is how I understand they do it, something about clicking update makes sure that all the template changes are uploaded to the db.

But might be wrong there, perhaps someone else can give more info.

However as you said it works, I guess theres not much to worry about anyway.

Dave




TopTop
« 1 2 3 4 (5) 6 7 8 ... 27 »



Login

Who's Online

240 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

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

Latest GitHub Commits