vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Last XX Posts on non-vB page (https://vborg.vbsupport.ru/showthread.php?t=12324)

dark dragun 04-16-2005 09:51 PM

same here vb_3. damn lol.

Byron 04-17-2005 04:53 AM

Does this script works for version 3?

ayhanaydogdu 05-29-2005 11:49 AM

Hello i did last10.php and i want to add it into index.php. How will i do that?

will i add <? include("last10.php"); ?> ? and which file wll i add into?
Can you help me please?

Marco van Herwaarden 05-29-2005 12:35 PM

This is a hack for vB2, are you using that?

ayhanaydogdu 05-29-2005 12:49 PM

<a href="http://forum.milyoner.net/last10.php" target="_blank">http://forum.milyoner.net/last10.php</a> i did. its here but. How can i add it into my index.php? And which file must be editted?
Thank you

ayhanaydogdu 05-30-2005 08:59 AM

Is there no one to help me? :(

ayhanaydogdu 05-30-2005 01:44 PM

I wonder if this forum is derelict. Nobody informs me about my question. If it si negative or positive, please make a noise

Marco van Herwaarden 05-30-2005 02:41 PM

I already answered you with a question yesterday. Until now you have not answered that question. It is difficult to help you if you don't give answer to a question.

PS Please wait 24 hours before bumping a question. Also keep in mind that people hee are volunteers who might not spend every day checking if there is a question on one of their hacks.

ayhanaydogdu 05-30-2005 06:00 PM

Hello MarcoH64, i didnt think that your pre question is for me. I use version 3.0.7 but i did it. May you have a lokk that http://forum.milyoner.net/last10.php , will i show it in index.php?
Thank you very much

Marco van Herwaarden 05-30-2005 07:41 PM

Sorry i don't know how to make this work on your vB3.0.7, since this was made for vB2 and not for vB3.

ayhanaydogdu 05-30-2005 08:56 PM

Is there any hack for VB3 that will do my desire last xx :( .
Thank you again.

sandrose 06-17-2005 09:37 AM

This script needs to be upgraded to work with VB 3.5b1.

Marco van Herwaarden 06-17-2005 10:07 AM

Quote:

Originally Posted by sandrose
This script needs to be upgraded to work with VB 3.5b1.

It would need to be upgraded to work on any vB3.x version

mustang_lex 07-13-2005 01:59 PM

This was the answer until I saw VB ver 2.2.x

I run 3.0.7 :(

Gutspiller 08-02-2005 04:03 PM

I saw in some post redirecting to this post and it claimed that this hack works on 3.0.7 Mustang did you try installing on 3.0.7? I was just wondering if that person that redirect here was full of ++++ or if this hack does work on 3.0.7 Does anybody know?

Marco van Herwaarden 08-02-2005 07:13 PM

I doubt that this hack unmodified will work on vB3.x.

There are however similar hack (and solutions posted) to this problem for vB3.x.

CDRlab 08-03-2005 06:29 PM

Hi there, I'm using this script for a long time (since 1.0.2) but now after upg. to 3.5 rc1 it stopped working. The solution is simple, just edit the file last10.php add after that:


Code:

// let's get connected
require("last10config.php");
require("$path/config.php");

Add that:

Code:

$servername=$config['MasterServer']['servername'];
$dbusername=$config['MasterServer']['username'];
$dbpassword=$config['MasterServer']['password'];
$dbname=$config['Database']['dbname'];


aalspach 08-03-2005 09:20 PM

3 words.. I love this hack. okay 4 words.

Gutspiller 08-03-2005 10:34 PM

Quote:

Originally Posted by CDRlab
Hi there, I'm using this script for a long time (since 1.0.2) but now after upg. to 3.5 rc1 it stopped working. The solution is simple, just edit the file last10.php add after that:


Code:

// let's get connected
require("last10config.php");
require("$path/config.php");

Add that:

Code:

$servername=$config['MasterServer']['servername'];
$dbusername=$config['MasterServer']['username'];
$dbpassword=$config['MasterServer']['password'];
$dbname=$config['Database']['dbname'];


Is it safe to put that information into the file??? Also, will those same changes get it working on 3.0.7?

imported_Max Performance 08-25-2005 02:55 AM

Bump! Is that info safe to put in?


Some of us Newbs need help. :rolleyes:

kath 08-29-2005 05:27 PM

This is a great hack. We had it working on our old server and since we switched servers, we are having troubles :( It works perfectly on the cgi server in the root directory. However, once it is placed in a folder and to work on a non-vb page, it isn't recognized. We use this to update our features pages. For example if we place the last10config, naming it last107config in the root, the page works the way it should. http://cgi.cacfriends.com/ed.shtml. However, if we place it in a folder,naming that folder Ed, it doesn't seem to be able to find it, no matter what we try. We have even played with the config name and it makes no difference...it just doesn't see the folder!
The coding for Ed.shtml (which works properly) is as follows: <!--#include file="last107.php"-->
However, once it's placed inside a folder http://cgi.cacfriends.com/ed/ed.shtml and using that coding, we get an error.

If we use the following coding: <?php
include ('http://cgi.cacfriends.com/ed/last10.php'); ?> we don't get an error but it also isn't recognized. We have tried everything and nothing seems to work.

HELP!!
Thanks,
Kath

psoexplorer 09-09-2005 07:41 AM

...so does this not work with the latest VB3, then? I hope it does because it seems to be the only hack out there that does what I need!

Can anyone point me in the direction of another similar hack? I just want to show the most recent updated 5-10 threads on my main homepage!

mark99 09-14-2005 07:37 AM

It doesn't work with vB3.5.0 RC3 from what I have tried, can't find anything similar either and I'd really rather not use the External vB3 feed system due to how laggy it can make my front page.

Andreas 09-14-2005 08:07 AM

This is a vBulletin 2 Hack and for sure won't work with vBulletin 3.0 or 3.5

lowlight 10-05-2005 08:20 PM

Someone update this hack!

heynurse 10-10-2005 01:37 PM

I would also love to see this hack ported over the 3.5! I've used it for years, I just upgraded to 3.5 and I miss it :)

I just posted a request on 3.5 miod request forum for this one, if you'd like to see it ported over, please visit: https://vborg.vbsupport.ru/showthrea...923#post791923

and post your support!

lordofgun 10-14-2005 05:58 PM

Actually, it worked fine on 3.0 for me, but will not work on 3.5.

Would LOVE to see this ported to 3.5. :D

lordofgun 10-14-2005 06:05 PM

Quote:

Originally Posted by CDRlab
Hi there, I'm using this script for a long time (since 1.0.2) but now after upg. to 3.5 rc1 it stopped working. The solution is simple, just edit the file last10.php add after that:


Code:

$path/config.php");
Add after that:

Code:

$servername=$config['MasterServer']['servername'];
$dbusername=$config['MasterServer']['username'];
$dbpassword=$config['MasterServer']['password'];
$dbname=$config['Database']['dbname'];


This worked perfectly for me on VB3.5.0 Gold

twitch 10-14-2005 06:48 PM

hrmm, this could come in handy

Mireade 10-14-2005 07:05 PM

Quote:

Originally Posted by lordofgun
lordofgun

Thanks lordofgun,
I'll try it tomorow
Michel

MissKalunji 10-14-2005 09:20 PM

Quote:

Originally Posted by CDRlab
Hi there, I'm using this script for a long time (since 1.0.2) but now after upg. to 3.5 rc1 it stopped working. The solution is simple, just edit the file last10.php add after that:


Code:

// let's get connected
require("last10config.php");
require("$path/config.php");

Add that:

Code:

$servername=$config['MasterServer']['servername'];
$dbusername=$config['MasterServer']['username'];
$dbpassword=$config['MasterServer']['password'];
$dbname=$config['Database']['dbname'];



works like a charm! thanks

heynurse 10-15-2005 02:19 AM

That rocks, works great! Thanks!!!

Mireade 10-15-2005 10:59 AM

I had complete success modifying the last10.php as described above. The news are displayed ok :-)
I'm now with vB 3.5.2

Thanks a lot for this advice !

Michel

Parker Clack 10-18-2005 12:47 PM

Can anymore make the changes to the navbar so that it is a popup menu that lists todays posts, todays threads and the top xx posts instead of it saying New Posts?

GT2.0 10-19-2005 10:03 PM

Oh thank God it's fixed :)

aflax045 10-24-2005 04:23 PM

MySQL reported this error while trying to retreive the info: Table 'twizted_vb3.thread' doesn't exist
Any thoughts?

Ryan McBain 11-02-2005 07:47 AM

I have had this hack for a while. It has worked for me in vb 3.00 and so on. Today I upgraded to 3.5.1 and now I get this message on my home page. "Can't select database"

How can I fix this?

MissKalunji 11-02-2005 11:02 AM

Quote:

Originally Posted by Ryan McBain
I have had this hack for a while. It has worked for me in vb 3.00 and so on. Today I upgraded to 3.5.1 and now I get this message on my home page. "Can't select database"

How can I fix this?


https://vborg.vbsupport.ru/showpost....&postcount=537

lazyseller 11-20-2005 06:41 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=62823&highlight=lastposts3" target="_blank">https://vborg.vbsupport.ru/showt...ght=lastposts3</a>

twitch 11-20-2005 09:20 PM

So, I am guessing that this works with 3.5.1 ? Would be cool if someone could put this together with all fixes and release it in the 3.5 section for modifications. I am not the guy for the job since I couldn't even get it to work in the first place. Another script that does the same thing and has an admin interface can be found over at ep-dev.com and it even posts news from your vbulletin forum. Use the headlines output for latest threads


All times are GMT. The time now is 07:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03984 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete