TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 04, 2024, 11:24:10 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,178
  • Total Topics: 21,220
  • Online today: 93
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 66
  • Total: 66

Multi-Functional Posts and Topics Snippet [Version 3.0 out!]

Started by Megaforum, October 14, 2007, 05:08:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rockyrails

Am I missing something - installed it on my test site - no other blocks running in front page block php.. added the script with nothing modified and I get the same error:

Parse error: syntax error, unexpected T_STRING in /........./public_html/testsite/Sources/RTP_BN2.3.php on line 1

These are on 2 different servers.  could there be a confilct with smf mods applied other than TP blocks. Here are the packages installed :

Mod Name   Version   
1.   TinyPortal   0.983   [ Uninstall ]
2.   FelBlog for SMF   0.941   [ Uninstall ]
3.   SMF Staff Page   1.5.1   [ Uninstall ]
4.   SMF 1.1.4 Search "brd" Bug Fix   1.0   [ Uninstall ]
5.   Signature BBCode Bar   1.4   [ Uninstall ]
6.   Contact Page   1.1   [ Uninstall ]
7.   Global Headers Footers   1.3   [ Uninstall ]
8.   VisualWarning   1.41   [ Uninstall ]
9.   Auto Embed Video Clips   1.0   [ Uninstall ]
10.   Change Theme Permission   1.0   [ Uninstall ]
11.   Global Announcements   1.0   [ Uninstall ]
12.   Internal Links Use Same Window   1.1   [ Uninstall ]
13.   Simple Award System   1.3.0   [ Uninstall ]
14.   Users Online Today Mod   1.4.0   [ Uninstall ]
15.   User Email System   1.2   [ Uninstall ]
16.   TP Downloads Download item permission   1.0   [ Uninstall ]
17.   SSI Membergroup   1.0   [ Uninstall ]
18.   ssi_grabMessage   1.0   [ Uninstall ]
19.   SMF Ranks   1.1   [ Uninstall ]
20.   Country Flags   1.0.1   [ Uninstall ]
21.   SMF Poll Mod   1.01   [ Uninstall ]
22.   Updated Registration Agreement   1.0   [ Uninstall ]
23.   RSS Feed Icon   1.1   [ Uninstall ]
24.   SMF Archive   1.1   [ Uninstall ]
25.   AvatarSelect   1.1.2   [ Uninstall ]
26.   Reg Bar   1.0   [ Uninstall ]
27.   Load Standard Language   1.0.1   [ Uninstall ]
28.   FontandSizeDropdown_1.2   1.2

cheers

Dragooon

This Is something I can't predict without looking into it.
That should not happen if you have copied the whole code correctly.

Pigenela

Hey all,

Dragooon, my question to you.

When I use 2 blocks to show posts from specified boards [actually 1 block gets posts from 1 board and the other one from 3 different] page creation time increases up tp 70 sec 0_o.

Could you pls check what could be a reason?

Tnx in advance.

Dragooon

This should not happen, For me its not more than 2 secs on my crappy machine.(128 MB Ram :P)



Lysyj


Dragooon


man1aak

Quote from: Pigenela on December 06, 2007, 09:13:19 AM
Hey all,

Dragooon, my question to you.

When I use 2 blocks to show posts from specified boards [actually 1 block gets posts from 1 board and the other one from 3 different] page creation time increases up tp 70 sec 0_o.

Could you pls check what could be a reason?

Tnx in advance.
well it does
it works perfectly on my test forum with 4 users and 10 topics.
but it works so damn slow on my main site, with
Total Members: 3691
Total Posts: 104513
Total Topics: 3052
Total Categories: 4
Users Online: 80
Most Online: 250 - 25 November 2007, 23:24:38
Online Today: 114
Total page views: 3048020
  Average registrations per day: 19.01
Average posts per day: 701.6
Average topics per day: 20.97
Total Boards: 23
Latest Member: wood
Average online per day: 96.63
Male to Female Ratio: 29.3:1
Average page views per day: 31102.24

link to status: www.prodota.ru/status.php
im using VDS with 800mhz cpu and 458mb ram

PS actually he uses to get not posts, but topics, and topic creator's name
PPS thx for this block

Dragooon

If you remove the blocks is it faster then?
On my both test forum(With 10,000 posts and 900 members) and main forum(With 23000 posts and 9000 members) It is fine.Just adds a little bit of query.