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)
-   -   Dynamic Announcements: Programmable Forum Home Announcement/Message with conditionals (https://vborg.vbsupport.ru/showthread.php?t=43194)

Logician 03-22-2003 02:54 PM

yeah sure it will work :)

Pyromate 07-18-2003 04:30 PM

NOOB | NOOB | NOOB


sorry but i want to learn !!

Code:

STEP 5- Edit forumhome/forumhome template and find:
what does that mean and where to find
vbulletin.style ? or index.php ?

lol totaly noob

thx for your knowlege and helping me !!

greetz | pyromate

Logician 07-19-2003 11:30 AM

Login to Admin CP, Click Templates/Modify/Show All, find template named "forumhome" and edit it.

robinsf 07-31-2003 01:10 PM

I just upgraded and lost my announcement hack -- any special instructions or should I use the same one for v2.9?

Logician 07-31-2003 05:18 PM

for 3.0? This hack is not coded for vb 3.0.

If you meant 2.3.0, first reapply hack steps accept running install file and it should work. And if it does not, run the install file too.

lasto 08-31-2003 02:59 PM

Logician quick question

wot server load or queries will this add to main page regardless of announcments it is showing ?

Logician 08-31-2003 05:12 PM

none

lasto 08-31-2003 08:41 PM

/me lied LOL

one more question i have a page that is php how can i make this program call it in (im sure its possible if i read right)

example i want to call in a page called index.php which aint part of vbull but i want to give it the vbull members access masks so i can let certain users have access

Logician 08-31-2003 09:15 PM

Quote:

Today at 12:41 AM lasto said this in Post #168
* lasto lied LOL

one more question i have a page that is php how can i make this program call it in (im sure its possible if i read right)

example i want to call in a page called index.php which aint part of vbull but i want to give it the vbull members access masks so i can let certain users have access

Where did you read it?

It is not possible unless you integrate that page into vb. You can get info for this integrations in general discussions forum. Search for keyword "require('./global.php');"

lasto 08-31-2003 09:54 PM

my fault i got it wrong - was this i read

Quote:

You can enter here a PHP code which will be parsed BEFORE webtemplate is loaded. This works exactly as vb's default phpinclude template. It is just different in that this include will be parsed before this webtemplate while vb's phpinclude is always parsed. Leave blank for no inclusion.
so failing that then,if i do an html page and include the page i want at the top of the html page this will work then ?

Logician 08-31-2003 10:10 PM

Are you trying to include:
a) dynamic announcement in a non-vb page?
b) a html page inside a webtemplate?
c) the announcement in a webtemplate?

lasto 09-01-2003 07:52 AM

installed and works fine

/me clicks install

lasto 09-01-2003 08:29 AM

one thing is smilies etc supposed to show up in this box as when i do one the announcement shows up but the smilie i entered shows as text.

any idea why cause the hack works fine besides that.

Logician 09-01-2003 09:02 AM

Searched thread? I believe somebody else had a similiar problem and it is likely that I had provided a solution. I think...

Wolverine 09-09-2003 09:12 PM

Great hack, though I am having a small problem.
The install seemed to go well but the announcement is not showing up on my forum homepage. I removed the default conditional message and replaced it with a standard text message so that it would apply to all user groups, still nothing.

Where would you suggest I begin my troubleshooting?
I am running version 2.8.0

robinsf 09-14-2003 12:10 AM

Quote:

Originally Posted by Logician
for 3.0? This hack is not coded for vb 3.0.

If you meant 2.3.0, first reapply hack steps accept running install file and it should work. And if it does not, run the install file too.

Ran the install file, re-implemented all the steps and still not working in v2.3.2

robinsf 09-14-2003 12:11 AM

Forgot to add... I now have 2 copies of the DFA option in admin cp.

EchoHype.com 09-14-2003 12:30 AM

logician- how hard would it be to get this working on 3.0, beta 6?

Logician 09-14-2003 11:12 AM

Quote:

Originally Posted by Wolverine
Great hack, though I am having a small problem.
The install seemed to go well but the announcement is not showing up on my forum homepage. I removed the default conditional message and replaced it with a standard text message so that it would apply to all user groups, still nothing.

Where would you suggest I begin my troubleshooting?
I am running version 2.8.0

Make sure you applied all steps correctly (Do not reapply step 1, if you already did). Especially make sure:
a) In Step 4 you applied the correct code according to your vb version
b) In STEP 3, you created the template IN ALL template sets if you have more than 1.
c) In STEP 4, you are adding the code into forum/index.php, NOT forum/admin/index.php

Quote:

Ran the install file, re-implemented all the steps and still not working in v2.3.2
I didn't test this hack with 2.3.2. I tested it with 2.3.0 though and it is working ok so I wouldn't expect any problems in 2.3.2 too. See my suggestions for Wolverine above.

To fix double options problem: (which happened because you ran the file in step 1 twice):
Edit "forum/admin/config.php", at the end file find the line ?> and before that add:
PHP Code:

$debug=1

Then close all your browser windows, open again and login into your admin cp. You'll see a new link named "Edit Settings" under "vb options", click it and scroll at the end of page. You see double "Dynamic Forum Announcements Hack" link there, remove one of them. Then edit your config.php file again and remove the line you added there.

Quote:

how hard would it be to get this working on 3.0, beta 6?
I don't know. I didn't look at it yet. As you know VB3 hacking is not allowed at the moment.

Wolverine 09-21-2003 02:26 PM

Thanks a bunch! I did indeed manage to add the code to index.php in the admin folder by mistake. Works great now, thanks a ton :)

liquidblaze 10-06-2003 07:48 PM

i am aware that this hack is kinda old, yet its the perfect thing for me...

i installed it into my main style and followed the install file to the end (well at least i think so) but the announcement doesnt show up somehow.

instead index.php shows "l l " before everything else and in options.php i also have a "l l " before everything else.

any help on that would be appreciated.

[EDIT]

i figured as much as that it has to do with the templates - as the || shows up in every page.

im using 2.3.2 at the moment.

Logician 10-06-2003 08:21 PM

Quote:

Originally Posted by liquidblaze
i am aware that this hack is kinda old, yet its the perfect thing for me...

i installed it into my main style and followed the install file to the end (well at least i think so) but the announcement doesnt show up somehow.

instead index.php shows "l l " before everything else and in options.php i also have a "l l " before everything else.

any help on that would be appreciated.

I can not suggest much except advising to uninstalle first and then reinstalle. Apparently you installed it wrongly.

liquidblaze 10-06-2003 09:31 PM

i edited all the files i edited previously and killed the entries in SETTING and SETTINGGROUP. anything more?

[EDIT]

index.php doesnt show anything now except || and if i access anything inside /admin it also get tagged with the || thing. i killed the templates aswell and edited forumhome.

[EDIT]

found the prob ... a very strange prob occured. while i was coding an instant message window popped up and i entered some text there.. then returned to coding view but the im window remained active somehow and i entered some letters in the functions.php :) all solved now... now im going to get that announcement thing working.

liquidblaze 10-06-2003 10:01 PM

forgive me my being a noob ... it works (as always)

this was my 25th hack i installed and i would have been kinda ++++ed if it didnt work out :) but all is fine.

Logician 10-07-2003 07:12 AM

ok glad you solved the issue :)

liquidblaze 10-07-2003 07:50 AM

sweet hack :) thanks for writing it

trekwarfare 10-14-2003 11:46 PM

WOW! Works great! Running 2.3.2 and this installed with no problems!

Thanks!

klaattu 10-16-2003 03:07 AM

MEGA super cool hack installed it, had some minor problems but fixing them I spoted some other bad parsings etc, everythings works perfect took 20 minutes and then I installed it in my other forum in 6 minutes, Works like a dream in 2.3.0.

THANKS AGAIN

klaattu 10-19-2003 01:02 AM

One question:

Can I put in the conditionals an image path instead of some text?
For example I put [i m g] bal bla bla path to image [/img]
and Will it show up?

Logician 10-19-2003 06:44 AM

Quote:

Originally Posted by klaattu
One question:

Can I put in the conditionals an image path instead of some text?
For example I put [i m g] bal bla bla path to image [/img]
and Will it show up?

yes.. announcements are parsed for smilies, [i m g ] tags, an all other vb tags that is available in your board..

klaattu 10-19-2003 04:23 PM

cool thanks Im going to give a shot now!

togoodhlth 10-29-2003 12:40 AM

Yeah this is definitely a very useful hack which i am going to install as soon as I finish the chat box!

klaattu 10-29-2003 01:47 AM

This hack is very cool and very aesy to install and customize and also uses codes so you can put smilies inside and also Images and links.....very cool for events for example..here is a shot of the site (one for registered users another for unregistered and another for holidays and spacial announcemnets..)

Waaaayyyy coool !

calvinnguyen 11-04-2003 01:00 AM

It is very nice tips!Thanks alot

calvinnguyen 11-09-2003 06:52 AM

Is this work with vb3 beta 7? thanks

fly 11-13-2003 05:54 PM

Hmmm

What would cause the [url] tag parsing not to work?

EDIT: None of the vB code seems to work. Checked code twice. Anyone had this happen?

Skipsoutdoors 12-13-2003 06:46 AM

Logican,

Thanks for another very useful hack. I just installed it. Hopefully it'll get some of my people to check their PM box.

That makes 2 of yours that I'll have to wait to be converted before switching to vb3.

Skip
Skip's Outdoors

calvinnguyen 01-03-2004 12:53 AM

How can I removed Dynamic Forum Announcements from my database. Right now I am run vBulletin Version 3.0.0 Release Candidate 1. Right now I had problem with it, so I like to remove it. Anyone know how to do it?

Logician 01-03-2004 08:11 AM

Quote:

Originally Posted by calvinnguyen
How can I removed Dynamic Forum Announcements from my database. Right now I am run vBulletin Version 3.0.0 Release Candidate 1. Right now I had problem with it, so I like to remove it. Anyone know how to do it?

add line
$debug=1;
in your includes/config.php file

Login to your admin cp
choose vb options and edit dynamic forum announcement hack. You'll see 2 DELETE links to delete the settings. First delete the below, then the title. After you're done, remove debug line from your config.php

Kerr 01-23-2004 01:49 PM

Ok, call me dumb...LOL I am new to VB. BTW....love love love this hack....*hits install*...

How do I find out what my Usergroup ID numbers are??? Is it the way they are listed ie...

(COPPA) Users Awaiting Moderation =9
Administrators =8
Imported Banned Users =7
Jr. Moderator =6
Moderator =5
Registered =4
Super Moderators=3
Unregistered / Not Logged In=2
Users Awaiting Email Confirmation=1

Is that how it would work??? That is exactly how mine is setup when I go to admin cp / modify user group.

Any help would be appreciated. I want to make sure the right usergroup sees the correct message.

Thanks....

Kerr
ExoticPetHaven.com

EDIT: SORRY the one page I didnt read had the link on there....next time I will read every single page. Thanks!


All times are GMT. The time now is 02:33 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.01595 seconds
  • Memory Usage 1,822KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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