PDA

View Full Version : Welcome Messages For Archive


Impreza04
01-09-2006, 10:00 PM
First PHP hack for me, i don't know it too well at all but ill try to support it as well as possible.

Version: 1.0.0

This is confimed to work with 3.6 BETA1 and will therefore not be updated.

This hack adds a welcome message to your forum archive which displays only to guests, it also displays a message asking users to conform their account if they have still to do so.

1 Product to install:
Contains 1 Plugin

This hack is designed to use the same phrases as the Welcome Headers Hack (https://vborg.vbsupport.ru/showthread.php?t=99579)

If you do not have it installed then there is an extra phrase to add..

Update
0.90 to 1.0.0 - Just re-upload the product with overwrite on

Notice: 3.5.4 Changes
Implementational changes: Archive

The output generated by the Archive is now buffered before being sent to the client. Plugins for the Archive that generate output must be adapted in order to work correctly. I have checked this and this hack is functions properly and there are no problems

Huge thanks to Oblivion Knight who fixed the problem with parsing the {3} in phrases

Enjoy

G0F0RBR0KE
01-10-2006, 05:06 PM
1st []Derson to []Dost. Nice one.

The Chief
01-10-2006, 05:27 PM
this looks like an awesome hack, wonderful :)

WNxWakko
01-10-2006, 10:57 PM
on the welcome part is shows

Welcome to the %3$s forums. and that group of symbols also shows up at the end of the links in there too.

diettalk
01-10-2006, 11:06 PM
I get this as well. The phrase is correct on the forums but shows up wrong on the archives.

on the welcome part is shows

Welcome to the %3$s forums. and that group of symbols also shows up at the end of the links in there too.

Impreza04
01-11-2006, 02:29 PM
Hmm The phrase uses {3} to find the board name...
Ill see if I can figure out an alternative..

The 1st is to replace {3} in first_visit_message with your board name

m_k
02-13-2006, 07:55 PM
anyone figured out a fix for this yet?

Impreza04
02-13-2006, 08:22 PM
Unfortunatly without altering the phrase, i can't..
It works perfectly thoug if you take out {3} with your board name

Reeve of shinra
02-13-2006, 08:24 PM
Good hack I was getting ready to do my own version of this!

m_k
02-14-2006, 07:23 AM
Unfortunatly without altering the phrase, i can't..
It works perfectly thoug if you take out {3} with your board name

ok replaced the {3} with the board name, but still had trouble with the {2} further down, and the email support link didn't work either

solved this by replacing {2} with:

http://mysite.com/forum/register.php

and using the URL again for the support link:

http://mysite.com/forum/sendmessage.php

works great now btw :-)

m_k
02-14-2006, 07:38 AM
here's the whole thing (working great so far):

Welcome to the <strong>My Site</strong> forums. <br /><br />You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our <strong>free</strong> community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, <a href="http://mysite.com/forum/register.php"><strong>join our community today</strong></a>! <br /><br />If you have any problems with the registration process or your account login, please contact <a href="http://mysite.com/forum/sendmessage.php">contact support</a>.

Impreza04
02-14-2006, 08:18 AM
Yea, any of {1},{2} etc numbers won't work..
I'm leanring at the moment to what else I can add to this hack at the moment im kind of at my limit.

RichieBoy67
02-17-2006, 02:05 PM
This is a great idea!!! It will help turn browsers into members. Thanks man!! I wish I thought of it!! :)

"clicks install"

Mudvayne
02-19-2006, 02:12 PM
Installed.. But having some weired problem :S.. Better chk http://www.golpo.net/forum/archive/index.php

Impreza04
02-20-2006, 04:47 PM
I can't see the hack on your archive so im not sure what your problem is..
If anyone does know how I can get vB to parse the {1} etc in the archive let me know

Mudvayne
02-21-2006, 02:08 AM
Sorry bro.. For some reason I disabled the hack.. Now its enabled.. Plz chk bak..

Oblivion Knight
02-21-2006, 07:09 AM
If anyone does know how I can get vB to parse the {1} etc in the archive let me knowI'll try and come up with a solution for you.. ;)

Brandon Sheley
02-21-2006, 07:32 AM
this looks nice, I'll wait a few days then install it,, :)

Oblivion Knight
02-21-2006, 07:39 AM
Fixed product to work with the welcome headers.. :)

Poetry in motion.

Impreza04
02-21-2006, 08:46 AM
Thanks alot Oblivion Knight

Ill update the file now

Mudvayne
02-21-2006, 09:03 AM
Thanks alot Oblivion Knight

Ill update the file now
Hey brother I got ur update mail.. ur mail sayz that hack version 1.0 but the xml file sayz that the version is 0.9.1..

<product productid="archive_welcome" active="1">
<title>Archive Welcome Header</title>
<description>Adds a welcome header to your forum archive</description>
<version>0.9.1</version>

Impreza04
02-21-2006, 09:17 AM
d'oh.. Forgot about that, I was stuck for time at that moment and forgot to change the Version number..

The current version is fine, but ill update the file to prevent confusion

quanvo81
02-21-2006, 11:16 AM
Edited ! Nevermind, I figured out

Reeve of shinra
03-04-2006, 07:51 PM
For some reason, nothing shows up in my archive when I install this. Could this be conflicing with the adsense in archive hack by Amy?

Impreza04
03-04-2006, 07:54 PM
If its http://www.shinraonline.com you've installed it on, I can see it just fine...

Reeve of shinra
03-04-2006, 08:07 PM
Doh stupid mistake on my part... I was logged in while viewing this and it didn't click. Sorry about that and thank you for the hack.