vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   VBjokes 3.0.7 (https://vborg.vbsupport.ru/showthread.php?t=97761)

micheal332001 10-06-2005 09:00 PM

VBjokes 3.0.7
 
Hi all

Here is my next hack for vb.
Its a jokes addon and you can have categorys to put your jokes in and
then click the link to that joke.
Or you can use the search to search for a joke.
And last you can add a joke but it will not show till the admin has approved the joke.

Here is my site its installed on.

http://www.michealmilton.com/forums/vbjokes.php

Take alook and let me know what you think or post if you think there should be some thing added or taken away.

But i have one problem if any one can help.
I need a way to do a LIMIT to view pages.

deathemperor 10-06-2005 11:21 PM

Quote:

Originally Posted by micheal332001
I need a way to do a LIMIT to view pages.

usergroup permission.

Boofo 10-07-2005 12:11 AM

hahahahahahahahahaha

(I don't get it. ;))

micheal332001 10-07-2005 07:27 AM

This is what i need to sort out.

Say i have 100 jokes in a category and i want to show 10 per game.

How do i make the page numbers up to show the other pages.

I know about the sql LIMIT 0,10 but i need to sort that out.
If you know how please help

deathemperor 10-07-2005 12:56 PM

I think you can either check for the way vb dev team has built vbulletin or exsiting hacks that use $pagenav.

micheal332001 10-09-2005 02:21 PM

1 Attachment(s)
Hi thanks for your help on this but i have sorted it and got it working.

This hack will be ready soon.

Some of the things this will be able to do are.

User area

vbjokes main page
categorys
search
add a joke

The main page is just that a main page.

Categorys
Here you will be able to view the categorys to all the jokes.
clicking one of the categorys will take you to the jokes in that category.

Jokes List
When you have clicked a category you will see a list of the jokes for that category. The jokes will be listed like so Joke ID, Joke Name, Joke Image, Submiter and view joke in a Popup.

Viewing a Joke
When viewing a joke you will see the name of the joke the submiter total hits the jokw image and the joke its self. You will be able to click the image in the joke view to see the inlarged picture.

Viewing Joke in Popup
Much the same as the view a joke but there less on the screen.
You will see the joke name submiter and the joke and image.
But you will not see the rest of the forum.

Admin Area

Vbjokes setting

This is to turn the vbjokes on and off.

Approve new jokes
This is when your members add a new joke it will not show to all members till the admin approves the joke for public view.

View Edit Jokes
Here you will be able to view the joke ID joke name Joke image.
I have not added the view of the joke on the admin screen as the list would be very long.

View categorys
Here you can view edit or delete the categorys you have.

Add category
This is for adding new categorys to your vbjokes.

Thanks it for the mean time if you have any other idea's for what this should have post here and ill try to add them.

here are some images to the vbjokes.

yahoooh 10-28-2005 12:25 AM

could u release it for vb 3.0.7 plz


All times are GMT. The time now is 12:59 AM.

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.00917 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete