21
catalin
Re: <{download.title}> on viewing single file
  • 2003/12/4 18:52

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


10x anyway i found out \how to do it.

so, you modifiy yout theme to show in the title <{$file.title}>

then go and edit /modules/downloads/include/functions.php

and find

/images/pop.gif

and delete the { ... / images/pop.gif } until the " return '' " and upload it. don`t forget to update the theme.

( removing pop.gif removes the <image src= > in the title )

don`t wory about some title when viewing the downloads section. They are a mistake.

you will soon find out



22
catalin
<{download.title}> on viewing single file
  • 2003/12/4 6:15

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


when a visitor views a single file ( download/singlefile.php ) i want the name of the download the user is viewing to apear in the <title> of the web-site.

I managed to do this with topics and stor.title but i am stuck at download.title.

can anyone help me ?



23
catalin
Xoops and mod_rewrite
  • 2003/11/23 18:12

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


Well watch can i say, can i propose that the nest version of XOOPS will have a mod_rewrite option instaled for those that want seo friendly urls in their site ? this is easy to do ( by the XOOPS core team, cause i don`t know a thing about php ), if they can implement that in Xoops.

The most important thing is that article/storyid/(id) should conver to article.php?storyid=(id) ... for me this is the most important thing to develop.

That can be used for the forum also.

I tried a lot of diferent methods but i just cant do it. Is this posible. I will even pay the XOOPS team core if they do it. ( banners = $ which i will donate if they develop it ) ... so ... waht`s the answer ... ca u do that ?



24
catalin
I have done it :)
  • 2003/10/18 16:31

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


1. visit www.cyber-cup.ro/index.html

2. visit www.cyber-cup.ro/index.php

3. EXACTLY THE SAME

4. get html out of php

Remember what i used to blaber around about a script that should tranform php into html. i`ve done it ....

i`ve done it for just 1 page ... the index.php ... but if the XOOPS core team can take this project further i don`t mind ...

i can`t figure out how to do this recursive for every page ... and how to make the script change the hyperlinks to the html versions of those links. i need help ... can someone help me ?



25
catalin
what u said
  • 2003/10/17 18:01

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


the thinghy u said abot forum=5372g82vfsvf8u turned into t949f-html ( or how did u say it ) is the Search engine indexer from techwizards.com ... and that only changes the URL of the site form forum=35b1297b5129 to simple t84187.html ( or anything else with html )

But a script that can take the hole content of the site and generate a identical ( in look and content ) of the php site. Now when it will be indexed all major engines will index it like hell ... and give u top 3, or 2 in almost al queryes. Believe me i worked at a Search engine optimizing company ... :) now demised ...

Xoops core team i have a Question ... can u make it ???

If u aren`t inspired do some b2evolution testing ( that`s were i got the ideea from ) ... BTW my blog hao one some first places in google :P



26
catalin
Re: Static page generation
  • 2003/10/17 7:26

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


sunsnapper ... if XOOPS would genereate from the code i gaved here an html version of the site every "whattimeuwant" (using the script) al 900 search engines on the net will index it like hell and there wont be any more need for other stupid search engine services or other thingies like that ... just XOOPS ... this wiil do a lot of good for XOOPS ( becomnig with the help of the indexed sites ( which for sure will have top 3 in google ) the #1 CMS on the net ).

It`s your choice ... i don`t have time and don`t know the XOOPS core very well to develop an XOOPS version of this script.

Anyway u chose ... But a module that genereates static pages ( html versions of the site would be apreciated ) i mean it ... and not only for google ... even yahoo, overture, astalavista and ho knows what other major webengines ... u name it ...

search engines WON`T index dinamicaly generated pages ( php ) farther then the level 2 ( level 2 of indexing out of 10 ) ... i mean it ... because of fear of geting stuck in url that look alike ...

It all depends on the XOOPS core team ... if they can do that ...

can ya ?



27
catalin
Re: Static page generation
  • 2003/10/17 7:18

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


k, i found out that b2evolution has the power to gen static pages out of the php pages ( visit www.cyber-cup.ro/blog/blog_a.html if ya don`t believe me ) and afterwards visit www.cyber-cup.ro/blog/ they are identical ( almost cause i did not update the html ) ... but anyway ...

the b2evolution has a script ( that i ripped it from the b2blogs.php file ) that takes the path of the php file from the MySQL database, takes the filename and all other thingies and using ob_get ( more on php.net ) and fsock generates a clean super html file ... that google indexes it like hell man ... i mean u will win top 3 in just MAXIMUM 2 weeks.

here is the source code of the script but i don`t know how to teleport it as a module for Xoops.

<?php
if ($user_level < 2)
{
die( T_('You have no right to generate static pages.') );
}

$staticfilename = get_bloginfo('staticfilename');
if( empty( $staticfilename ) )
{
echo '<p>', T_('You haven\'t set a static filename for this blog!'), "</p>\n</div>\n";
break;
}

// Determine the edit folder:
$edit_folder = get_path( 'base' ) .get_bloginfo('subdir');
$filename = $edit_folder.'/'.get_bloginfo('filename');
$staticfilename = $edit_folder.'/'.$staticfilename;

printf( T_('Generating page from <strong>%s</strong> to <strong>%s</strong>...'), $filename, $staticfilename );
echo "<br />\n";
flush();

ob_start();
require $filename;
$page = ob_get_contents();
ob_end_clean();

// Switching back to default locale (the blog page may have changed it):
locale_activate( $default_locale );

echo T_('Writing to file...'), '<br />', "\n";

$fp = fopen ( $staticfilename, "w");
fwrite($fp, $page);
fclose($fp);

echo T_('Done.'), '<br />', "\n";
?>


can u make it a module for XOOPS ??? plsss ... for google maniacs and other thingies like that it would make a great diference ...



28
catalin
Re: Search Engines: Just so you know
  • 2003/10/17 7:10

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


next time use in the template the

<meta name="revisit-after" content="1 days"> or how many days u wnat and u will be back in top 10 in no time ... actualy 2 days max



29
catalin
Static page generation
  • 2003/10/16 6:52

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


Xoops core team ... can u invent a module for XOOPS that takes the XOOPS PHP files and converts them into static html files ???

http://www.devarticles.com/art/1/510 <<-- check it out for the general ideea ...

a html file is better in google indexing and reduces the work of the webserver making its performance grow.

The ideea is that every new article ... the forum or what ever there is on the site to be generated in a separate direcotry as html files ( the script should auto-update the html files at intervals set by us )

pls make one :)



30
catalin
Feature Request: Search engine Indexer
  • 2003/10/15 19:14

  • catalin

  • Just popping in

  • Posts: 30

  • Since: 2003/9/4 7


we from XOOPS Romania would like to request an Search engine Indexer like the one from www.techwizards.com or something like the vBulletin hack.

i would recomend that the new module should take the arhive.php from the news sections and other arhive.php files in XOOPS and when selecting arhive.php?articleid=d383b4y3u423 and any long adreses like this the module should change it into a-2-t-3.html or somthing like that. You know ... changing the big URLS to simple search engine friendly urls

for more about this module search with google "search engine indexer add-on" and read about it.

We would like a module for XOOPS ... pls ... that does that




TopTop
« 1 2 (3)



Login

Username:
Password:

Lost Password? Register now!

Who's Online

70 user(s) are online (54 user(s) are browsing Support Forums)


Members: 0


Guests: 70


more...

Donat-O-Meter

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

Latest GitHub Commits